aboutsummaryrefslogtreecommitdiff
path: root/manifests/config.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2009-03-09 16:32:28 -0400
committerMicah Anderson <micah@riseup.net>2009-03-09 16:32:28 -0400
commit151b7c4a46e9c766dc1b08d47ec46b0b21842578 (patch)
tree23301fd9b6aba5f651e0226f9f8e53680d003031 /manifests/config.pp
parentd7e2830475b530f00567f77628d58e9e27f3a0b8 (diff)
downloadpuppet-backupninja-151b7c4a46e9c766dc1b08d47ec46b0b21842578.tar.gz
puppet-backupninja-151b7c4a46e9c766dc1b08d47ec46b0b21842578.tar.bz2
fix the $when default parameter to use the correct syntax
If when is set to just '01:00' (as it was previously), then backups will never run due to the time format being specified incorrectly. Backupninja considers '01:00' to be the day of the week and every time it wakes up to see if it is time to do a backup it determines that it is currently not the day "01:00" and so it shouldn't do a backup now. In otherwords, it will never do a backup at this rate. I've filed a bug for this issue, because it probably should at least let you know that you've failed. https://labs.riseup.net/code/issues/show/640
Diffstat (limited to 'manifests/config.pp')
-rw-r--r--manifests/config.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index 668904e..34e3a0e 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -3,7 +3,7 @@
# write them to the config file as-is.
#
define backupninja::config(
- $configfile = '/etc/backupninja.conf', $loglvl = 4, $when = '01:00',
+ $configfile = '/etc/backupninja.conf', $loglvl = 4, $when = 'everyday at 01:00',
$reportemail = 'root', $reportsuccess = false, $reportwarning = true,
$reporthost = $reporthost, $reportuser = $reportuser,
$reportdirectory = $reportdirectory,