From 798a3865425e037db14f935d95a04c191baae521 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 28 Aug 2009 17:44:28 -0300 Subject: Updating module due to changes on puppet-backupninja --- manifests/init.pp | 9 ++++++--- 1 file 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}"] } } } -- cgit v1.2.3