]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Introducing $backup_audit_rsync
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 15 May 2012 19:20:53 +0000 (16:20 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 15 May 2012 19:20:53 +0000 (16:20 -0300)
manifests/init.pp

index 576b68ef313cfd4978797dce6a6b7a8d3ae7780a..88fa4993c27138e7517d7962f9895fe97d90f4cd 100644 (file)
@@ -108,7 +108,10 @@ class backup {
     user     => root,
     hour     => "0",
     minute   => "0",
-    weekday  => "0",
+    weekday  => $backup_audit_rsync ? { 
+      true    => '*',
+      default => "0",
+    }
     ensure   => present,
     require  => File['/usr/local/sbin/rsync-check'],
   }