aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-08-28 17:44:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2009-08-28 17:44:28 -0300
commit798a3865425e037db14f935d95a04c191baae521 (patch)
treed1d07b9d8fdfd0db0b7d189eb000697a54c6684d /manifests
parentc8c169a0a4ab3ecbbfc7016bf0b98bd3f8eac221 (diff)
downloadpuppet-backup-798a3865425e037db14f935d95a04c191baae521.tar.gz
puppet-backup-798a3865425e037db14f935d95a04c191baae521.tar.bz2
Updating module due to changes on puppet-backupninja
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp9
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}"]
}
}
}