From 5c9b124f84016d285a49936157882aa81f15a772 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 18 Sep 2010 19:43:27 -0300 Subject: Adding script sync-backups --- manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'manifests') 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": -- cgit v1.2.3