aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:55:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:55:39 -0300
commitd1533e314ca98f3e19d2c24bac149de5d61d96b4 (patch)
treed69705ea99bae532cb9e163d7b60947bbd1afb0a /manifests/init.pp
parenta273c148adb5d41a62b1b768d99d73f7db4979df (diff)
downloadpuppet-backup-d1533e314ca98f3e19d2c24bac149de5d61d96b4.tar.gz
puppet-backup-d1533e314ca98f3e19d2c24bac149de5d61d96b4.tar.bz2
Hiera 5 migration
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp8
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