From 740625870838aad0980ca0bf2036c4523ff6afd9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 12 Dec 2009 20:28:46 -0200 Subject: Check backups once a week --- manifests/init.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manifests') 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, + } } } -- cgit v1.2.3