puppet-tripleo/manifests/profile/base/metrics
Takashi Kajinami 9be30d134b Metrics/QDR: Replace hiera by lookup
The hiera function is deprecated and does not work with the latest
hieradata version 5. It should be replaced by the new lookup
function[1].

[1] https://puppet.com/docs/puppet/7/hiera_automatic.html

With the lookup function, we can define value type and merge behavior,
but these are kept default at this moment to limit scope of this change
to just simple replacement. Adding value type might be useful to make
sure the value is in expected type (especially when a boolean value is
expected), but we will revisit that later.

example:
lookup(<NAME>, [<VALUE TYPE>], [<MERGE BEHAVIOR>], [<DEFAULT VALUE>])

Change-Id: I11ff84f94db06dfd84ecd80ebb09c2a2076758eb
2022-05-10 10:19:08 +09:00
..
collectd Metrics/QDR: Replace hiera by lookup 2022-05-10 10:19:08 +09:00
collectd.pp Metrics/QDR: Replace hiera by lookup 2022-05-10 10:19:08 +09:00
qdr.pp Metrics/QDR: Replace hiera by lookup 2022-05-10 10:19:08 +09:00