diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:36 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:36 -0300 |
commit | e17a377a8e49e7be4de2ed4fb0d4b09365920150 (patch) | |
tree | e1512521eaaba78db854b6c69648553ad312a0cd | |
parent | d3c45d119c584d41c905aaa78d59c21b093bf81b (diff) | |
download | puppet-php-e17a377a8e49e7be4de2ed4fb0d4b09365920150.tar.gz puppet-php-e17a377a8e49e7be4de2ed4fb0d4b09365920150.tar.bz2 |
Hiera 5 migration
-rw-r--r-- | manifests/resources.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp index b17383b..b2da701 100644 --- a/manifests/resources.pp +++ b/manifests/resources.pp @@ -1,6 +1,6 @@ class php::resources { - $configs = hiera('php::config', {}) - $pools = hiera('php::fpm::pool', {}) + $configs = lookup('php::config', undef, undef, {}) + $pools = lookup('php::fpm::pool', undef, undef, {}) # Apply instances create_resources('php::config', $configs) |