aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-05-15 16:20:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-05-15 16:20:53 -0300
commitf5dfe3522b88e8d0d4f117ab7284c5646f74bd7d (patch)
treea03a8a839ba3a8afff9856919c27032996e4ba70 /manifests
parent8381b7e23b2fd2ac66fe7c06b9fc52ab95bd7efe (diff)
downloadpuppet-backup-f5dfe3522b88e8d0d4f117ab7284c5646f74bd7d.tar.gz
puppet-backup-f5dfe3522b88e8d0d4f117ab7284c5646f74bd7d.tar.bz2
Introducing $backup_audit_rsync
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 576b68e..88fa499 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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'],
}