From 1e7a945e416aa660616601b130c8be5462c3c22b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 May 2020 20:57:37 -0300 Subject: Hiera 5 migration --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ], ) { -- cgit v1.2.3