diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-02-04 11:39:07 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-02-04 11:39:07 -0200 |
commit | 4b3f8af4d42153517989f128aa5ce10823f9fc8e (patch) | |
tree | 8eff53164b7949079349a5f76070fc2763014c24 /manifests | |
parent | 115d16718c85ceae07fdde36d1f846f8de0402ba (diff) | |
download | puppet-backup-4b3f8af4d42153517989f128aa5ce10823f9fc8e.tar.gz puppet-backup-4b3f8af4d42153517989f128aa5ce10823f9fc8e.tar.bz2 |
New 'backup::reportwarning' parameter
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 73c78e2..2f4fead 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -36,8 +36,9 @@ $backup_exclude_encrypted = [ "$backupdir/duplicity/.ssh", ] $backupninja_ensure_version = 'latest' class backup( - $when = hiera('backup::when', 'everyday at 01:00'), - $audit_rsync = hiera('backup::audit_rsync', True) + $when = hiera('backup::when', 'everyday at 01:00'), + $audit_rsync = hiera('backup::audit_rsync', True), + $reportwarning = hiera('backup::reportwarning', True) ) { include backupninja::server @@ -48,9 +49,10 @@ class backup( package { "hwinfo": ensure => installed, } backupninja::config { "conf": - loglvl => 4, - usecolors => false, - when => $when, + loglvl => 4, + usecolors => false, + when => $when, + reportwarning => $reportwarning, } file { "$backupdir_remote": |