diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-12-12 20:28:46 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-12-12 20:28:46 -0200 |
commit | 740625870838aad0980ca0bf2036c4523ff6afd9 (patch) | |
tree | 1c6d60dfc644560585e49d9e7ccb5c6d41fe7e84 /manifests | |
parent | 5afa00d457e26062d13dca4230ce689b254a2a3d (diff) | |
download | puppet-backup-740625870838aad0980ca0bf2036c4523ff6afd9.tar.gz puppet-backup-740625870838aad0980ca0bf2036c4523ff6afd9.tar.bz2 |
Check backups once a week
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 10 |
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, + } } } |