diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-05-15 16:20:53 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-05-15 16:20:53 -0300 |
commit | f5dfe3522b88e8d0d4f117ab7284c5646f74bd7d (patch) | |
tree | a03a8a839ba3a8afff9856919c27032996e4ba70 /manifests | |
parent | 8381b7e23b2fd2ac66fe7c06b9fc52ab95bd7efe (diff) | |
download | puppet-backup-f5dfe3522b88e8d0d4f117ab7284c5646f74bd7d.tar.gz puppet-backup-f5dfe3522b88e8d0d4f117ab7284c5646f74bd7d.tar.bz2 |
Introducing $backup_audit_rsync
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 5 |
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'], } |