diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-07-09 12:23:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-07-09 12:23:27 -0300 |
commit | 21807b94b188db016af05a2f072ec54775074a54 (patch) | |
tree | 02430af6a460036a5819fc7f073418ffea9eb3e2 | |
parent | aaeb63b986bf53bddfefd3887c8065c5d8acf109 (diff) | |
download | puppet-backup-21807b94b188db016af05a2f072ec54775074a54.tar.gz puppet-backup-21807b94b188db016af05a2f072ec54775074a54.tar.bz2 |
Introducing $backup_when
-rw-r--r-- | manifests/init.pp | 7 |
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 |