aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-16 11:50:21 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-16 11:50:21 -0200
commitb6015de596fbc02191e54cd08cd76ccda60d5d0a (patch)
treeab68273d949643ae09395fe72d1bd413d8bd5ecd /manifests
parentae102e4b945bab34fdb7c15d54f51ba6cfe6238c (diff)
downloadpuppet-backup-b6015de596fbc02191e54cd08cd76ccda60d5d0a.tar.gz
puppet-backup-b6015de596fbc02191e54cd08cd76ccda60d5d0a.tar.bz2
Renaming cron resource
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6163f56..6357677 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -132,8 +132,13 @@ class backup {
require => File["${backupninja::client::defaults::configdir}"],
}
- # check duplicity backups once a week
+ # TODO: temporary resource to be removed in the long run
cron { "duplicity_check--$title.$domain":
+ ensure => absent,
+ }
+
+ # check duplicity backups once a week
+ cron { "duplicity_check-$title.$domain":
command => "/bin/bash ${backupninja::client::defaults::configdir}/${order}_duplicity-${title}.sh --check",
user => root,
hour => "0",