From e17a377a8e49e7be4de2ed4fb0d4b09365920150 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 May 2020 20:58:36 -0300 Subject: Hiera 5 migration --- manifests/resources.pp | 4 ++-- 1 file 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) -- cgit v1.2.3