]> gitweb.fluxo.info Git - puppet-php.git/commitdiff
Hiera 5 migration
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 7 May 2020 23:58:36 +0000 (20:58 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 7 May 2020 23:58:36 +0000 (20:58 -0300)
manifests/resources.pp

index b17383b624da98dcfdbfae5f69403537efa6fb03..b2da7015a824959799bd78da0b8a1c0cf6a49dc1 100644 (file)
@@ -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)