when => $backup_when,
}
- # TODO: temporary resource to be removed in the long run
- file { "/backup":
- ensure => absent,
- force => true,
- }
-
file { "$backupdir_remote":
ensure => directory,
owner => root,
require => File["${backupninja::client::defaults::configdir}"],
}
- # 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",