aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'],
}