puppet-tripleo/manifests/profile/base/octavia/provider
Takashi Kajinami 28b340c09b Octavia: 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: Id64aea3cc7986446087ad272bec74be01ef20362
2022-05-13 07:20:28 +00:00
..
ovn.pp Octavia: Replace hiera by lookup 2022-05-13 07:20:28 +00:00