aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index ac27844..d8fb436 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -41,9 +41,14 @@ class backup {
package { "debconf-utils": ensure => installed, }
package { "hwinfo": ensure => installed, }
+ case $backup_when {
+ '': { $backup_when = 'everyday at 01:00' }
+ }
+
backupninja::config { "conf":
- loglvl => 4,
+ loglvl => 4,
usecolors => false,
+ when => $backup_when,
}
# TODO: temporary resource to be removed in the long run