aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index adb259a..6224032 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -93,5 +93,15 @@ class backup {
mode => 0600,
require => File["${backupninja::client::defaults::configdir}"]
}
+
+ # check backups once a week
+ cron { "duplicity_check--$title.$domain":
+ command => "${backupninja::client::defaults::configdir}/${order}_duplicity-${title}.sh --check"
+ user => root,
+ hour => "0",
+ minute => "0",
+ weekday => "0",
+ ensure => present,
+ }
}
}