diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:55:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:55:39 -0300 |
commit | d1533e314ca98f3e19d2c24bac149de5d61d96b4 (patch) | |
tree | d69705ea99bae532cb9e163d7b60947bbd1afb0a /manifests/init.pp | |
parent | a273c148adb5d41a62b1b768d99d73f7db4979df (diff) | |
download | puppet-backup-d1533e314ca98f3e19d2c24bac149de5d61d96b4.tar.gz puppet-backup-d1533e314ca98f3e19d2c24bac149de5d61d96b4.tar.bz2 |
Hiera 5 migration
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 4 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>. 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 |