aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-16 15:40:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-16 15:40:07 -0300
commit5058fd7753432f7456dc46d444f36533f2596395 (patch)
tree912f6a3a6c5535155f92db3580f68fab46574656 /manifests
parent1a57f3e2805c921026a4d2f9b4022046afee1d2b (diff)
downloadpuppet-backup-5058fd7753432f7456dc46d444f36533f2596395.tar.gz
puppet-backup-5058fd7753432f7456dc46d444f36533f2596395.tar.bz2
Oops
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp18
1 files changed, 9 insertions, 9 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c5d2dc3..97e3aff 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -84,6 +84,15 @@ class backup {
require => File['/usr/local/sbin/rdiff-check'],
}
+ # we have to keep that until squeeze turns stable
+ file { "/usr/share/backupninja/rsync":
+ ensure => present,
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ source => "puppet://$server/modules/backup/files/handlers/rsync",
+ }
+
# default backupninja::rdiff configuration
define rdiff($port = '22', $ensure = present, $installkey = true) {
backupninja::rdiff { "rdiff-$title.$domain":
@@ -147,15 +156,6 @@ class backup {
include backupninja::client
- # we have to keep that until squeeze turns stable
- file { "/usr/share/backupninja/rsync":
- ensure => present,
- owner => "root",
- group => "root",
- mode => 0644,
- source => "puppet://$server/modules/backup/files/handlers/rsync",
- }
-
# backup dest folder
file { "$backupdir/duplicity":
ensure => directory,