From b6015de596fbc02191e54cd08cd76ccda60d5d0a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 16 Feb 2010 11:50:21 -0200 Subject: Renaming cron resource --- manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'manifests/init.pp') 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", -- cgit v1.2.3