diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-25 14:16:30 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-25 14:16:30 -0300 |
commit | b1ef0e503e6a2cc4577893cb47ceee7d8d2dba99 (patch) | |
tree | 65352964a04f50721031822b254f27eae2751e4b | |
parent | 1542168f8436a66fdbe1e291b81f871c6d34c429 (diff) | |
download | puppet-backup-b1ef0e503e6a2cc4577893cb47ceee7d8d2dba99.tar.gz puppet-backup-b1ef0e503e6a2cc4577893cb47ceee7d8d2dba99.tar.bz2 |
More backupninja updates
-rw-r--r-- | manifests/duplicity.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/duplicity.pp b/manifests/duplicity.pp index 7183492..8660bcc 100644 --- a/manifests/duplicity.pp +++ b/manifests/duplicity.pp @@ -17,7 +17,7 @@ define backup::duplicity( $exclude_unencrypted = $backup::params::exclude_unencrypted $include_unencrypted = $backup::params::include_unencrypted - include backupninja::client + include backupninja # backup dest folder file { "${backup::params::backupdir}/duplicity": @@ -27,18 +27,18 @@ define backup::duplicity( } # the backupninja rule for this duplicity backup - file { "${backupninja::client::defaults::configdir}/${order}_duplicity-${title}.sh": + file { "${backupninja::configdir}/${order}_duplicity-${title}.sh": ensure => $ensure, content => template('backup/duplicity.conf.erb'), owner => root, group => root, mode => 0600, - require => File["${backupninja::client::defaults::configdir}"], + require => File["${backupninja::configdir}"], } # check duplicity backups once a week cron { "duplicity_check-$title.$domain": - command => "/bin/bash ${backupninja::client::defaults::configdir}/${order}_duplicity-${title}.sh --check", + command => "/bin/bash ${backupninja::configdir}/${order}_duplicity-${title}.sh --check", user => root, hour => "0", minute => "0", |