aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-04 11:39:07 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-02-04 11:39:07 -0200
commit4b3f8af4d42153517989f128aa5ce10823f9fc8e (patch)
tree8eff53164b7949079349a5f76070fc2763014c24
parent115d16718c85ceae07fdde36d1f846f8de0402ba (diff)
downloadpuppet-backup-4b3f8af4d42153517989f128aa5ce10823f9fc8e.tar.gz
puppet-backup-4b3f8af4d42153517989f128aa5ce10823f9fc8e.tar.bz2
New 'backup::reportwarning' parameter
-rw-r--r--manifests/init.pp12
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":