puppet-tripleo/manifests/profile/base/swift
katarimanoj 916e715036 Swift: 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: I6ff74931b9ac95c7c2b134c249797e5b74c6471d
2022-04-21 16:20:19 +05:30
..
add_devices.pp Replace deprecated is_integer 2021-08-08 03:36:09 +09:00
dispersion.pp Swift: Replace hiera by lookup 2022-04-21 16:20:19 +05:30
proxy.pp Swift: Replace hiera by lookup 2022-04-21 16:20:19 +05:30
ringbuilder.pp Swift: Replace hiera by lookup 2022-04-21 16:20:19 +05:30
storage.pp Swift: Replace hiera by lookup 2022-04-21 16:20:19 +05:30