From d1533e314ca98f3e19d2c24bac149de5d61d96b4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 May 2020 20:55:39 -0300 Subject: Hiera 5 migration --- manifests/init.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index f4ce07c..fee575c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,10 +21,10 @@ # along with this program. If not, see . class backup( - $when = hiera('backup::when', 'everyday at 01:00'), - $audit_rsync = hiera('backup::audit_rsync', true), - $reportwarning = hiera('backup::reportwarning', true), - $hwinfo = hiera('backup::hwinfo', 'installed') + $when = lookup('backup::when', undef, undef, 'everyday at 01:00'), + $audit_rsync = lookup('backup::audit_rsync', undef, undef, true), + $reportwarning = lookup('backup::reportwarning', undef, undef, true), + $hwinfo = lookup('backup::hwinfo', undef, undef, 'installed') ) { include backup::params -- cgit v1.2.3