diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-05-31 09:28:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-05-31 09:28:09 -0300 |
commit | 77e37b29cdb219f297e7b951515fd9eba28b70ea (patch) | |
tree | 36237e020db8872e729974c97be8606b26920fa6 /manifests | |
parent | 5d66d68cba5c37b91c46f7a500b4bf85b6e9df89 (diff) | |
download | puppet-backup-77e37b29cdb219f297e7b951515fd9eba28b70ea.tar.gz puppet-backup-77e37b29cdb219f297e7b951515fd9eba28b70ea.tar.bz2 |
Fix cronjob ensurable state at backup::borg
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/borg.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/borg.pp b/manifests/borg.pp index eff0f74..a1d82e8 100644 --- a/manifests/borg.pp +++ b/manifests/borg.pp @@ -30,6 +30,9 @@ define backup::borg( hour => "0", minute => "0", weekday => "0", - ensure => $periodic_check, + ensure => $ensure ? { + 'present' => $periodic_check, + default => absent, + }, } } |