diff options
-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 6163f56..6357677 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -132,8 +132,13 @@ class backup { require => File["${backupninja::client::defaults::configdir}"], } - # check duplicity backups once a week + # TODO: temporary resource to be removed in the long run cron { "duplicity_check--$title.$domain": + ensure => absent, + } + + # check duplicity backups once a week + cron { "duplicity_check-$title.$domain": command => "/bin/bash ${backupninja::client::defaults::configdir}/${order}_duplicity-${title}.sh --check", user => root, hour => "0", |