packstack/packstack/puppet/modules/packstack/manifests
Takashi Kajinami 6ff87dd6d4 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>])

This also replaces the hiera_array function which is also deprecated,
according to the guideline[2].

[2] https://puppet.com/docs/puppet/7/hiera_migrate.html#updated_classic_hiera_function_calls

Change-Id: Ic9930107fbc68cba3432f4424f113071325efcb7
2022-08-18 00:37:32 +09:00
..
amqp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
aodh Replace hiera by lookup 2022-08-18 00:37:32 +09:00
ceilometer Replace hiera by lookup 2022-08-18 00:37:32 +09:00
cinder Replace hiera by lookup 2022-08-18 00:37:32 +09:00
glance Replace hiera by lookup 2022-08-18 00:37:32 +09:00
heat Replace hiera by lookup 2022-08-18 00:37:32 +09:00
ironic Replace hiera by lookup 2022-08-18 00:37:32 +09:00
keystone Replace hiera by lookup 2022-08-18 00:37:32 +09:00
magnum Replace hiera by lookup 2022-08-18 00:37:32 +09:00
manila Replace hiera by lookup 2022-08-18 00:37:32 +09:00
mariadb Replace hiera by lookup 2022-08-18 00:37:32 +09:00
neutron Replace hiera by lookup 2022-08-18 00:37:32 +09:00
nova Replace hiera by lookup 2022-08-18 00:37:32 +09:00
provision Replace hiera by lookup 2022-08-18 00:37:32 +09:00
sahara Replace hiera by lookup 2022-08-18 00:37:32 +09:00
swift Replace hiera by lookup 2022-08-18 00:37:32 +09:00
trove Replace hiera by lookup 2022-08-18 00:37:32 +09:00
amqp.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
aodh.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
apache.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
ceilometer.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
chrony.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
cinder.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
firewall.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
glance.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
gnocchi.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
heat.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
horizon.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
ironic.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
keystone.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
magnum.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
manila.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
mariadb.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
memcached.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
netns.pp Fix puppet-lint errors in puppet-packstack module 2015-04-15 09:19:03 +02:00
neutron.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
nova.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
openstackclient.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
placement.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
prereqs.pp Update rake version in puppet module Gemfile, fix linter 2020-06-11 10:51:26 +00:00
provision.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
redis.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
sahara.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
swift.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00
trove.pp Replace hiera by lookup 2022-08-18 00:37:32 +09:00