diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 50cb9f2..f87308e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -30,7 +30,10 @@ $backup_exclude_encrypted = [ "/var/backups/duplicity/.ssh", ] class backup { - package { "rdiff-backup": ensure => installed, } + include backupninja::server + include backupninja::client::duplicity + include backupninja::client::rdiff_backup + package { "debconf-utils": ensure => installed, } backupninja::config { "conf": @@ -81,13 +84,13 @@ class backup { } # the backupninja rule for this duplicity backup - file { "${backupninja::client::configdir}/${order}_duplicity-${title}.sh": + file { "${backupninja::client::defaults::configdir}/${order}_duplicity-${title}.sh": ensure => $ensure, content => template('backup/dup.conf.erb'), owner => root, group => root, mode => 0600, - require => File["${backupninja::client::configdir}"] + require => File["${backupninja::client::defaults::configdir}"] } } } |