aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-18 19:43:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-18 19:43:27 -0300
commit5c9b124f84016d285a49936157882aa81f15a772 (patch)
treeb2fa432bbea4c82a0dff482310a54996eee8b638 /manifests
parenta392b0c9fb7279b6c232cdba84df4d3c76792f17 (diff)
downloadpuppet-backup-5c9b124f84016d285a49936157882aa81f15a772.tar.gz
puppet-backup-5c9b124f84016d285a49936157882aa81f15a772.tar.bz2
Adding script sync-backups
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 7ce4043..236751a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -129,6 +129,15 @@ class backup {
source => "puppet://$server/modules/backup/handlers/rsync",
}
+ # sync-backups script
+ file { "/usr/local/sbin/sync-backups":
+ owner => root,
+ group => root,
+ mode => 0755,
+ ensure => present,
+ source => "puppet://$server/modules/backup/sync-backups",
+ }
+
# default backupninja::rdiff configuration
define rdiff($port = '22', $ensure = present, $installkey = true) {
backupninja::rdiff { "rdiff-$title.$domain":