From: Silvio Rhatto Date: Thu, 7 May 2020 23:57:37 +0000 (-0300) Subject: Hiera 5 migration X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;p=puppet-icecast.git Hiera 5 migration --- diff --git a/manifests/init.pp b/manifests/init.pp index 02b23af..0439846 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,5 +1,5 @@ class icecast( - $config_content = hiera('icecast::config_content', false), + $config_content = lookup('icecast::config_content', undef, undef, false), $config_source = [ "puppet:///modules/site_icecast/${::hostname}.conf", "puppet:///modules/icecast/icecast.conf" ], ) {