aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:36 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:36 -0300
commite17a377a8e49e7be4de2ed4fb0d4b09365920150 (patch)
treee1512521eaaba78db854b6c69648553ad312a0cd
parentd3c45d119c584d41c905aaa78d59c21b093bf81b (diff)
downloadpuppet-php-e17a377a8e49e7be4de2ed4fb0d4b09365920150.tar.gz
puppet-php-e17a377a8e49e7be4de2ed4fb0d4b09365920150.tar.bz2
Hiera 5 migration
-rw-r--r--manifests/resources.pp4
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)