diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-09-18 19:43:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-09-18 19:43:27 -0300 |
commit | 5c9b124f84016d285a49936157882aa81f15a772 (patch) | |
tree | b2fa432bbea4c82a0dff482310a54996eee8b638 /manifests | |
parent | a392b0c9fb7279b6c232cdba84df4d3c76792f17 (diff) | |
download | puppet-backup-5c9b124f84016d285a49936157882aa81f15a772.tar.gz puppet-backup-5c9b124f84016d285a49936157882aa81f15a772.tar.bz2 |
Adding script sync-backups
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 9 |
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": |