aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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":