]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Renaming cron resource
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 16 Feb 2010 13:50:21 +0000 (11:50 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 16 Feb 2010 13:50:21 +0000 (11:50 -0200)
manifests/init.pp

index 6163f5618a0ce911f0663c02002d5d090b934f94..635767762142b121a3e0dc4e7b5f2f9080e91667 100644 (file)
@@ -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",