From: Silvio Rhatto Date: Thu, 27 Aug 2009 00:08:48 +0000 (-0300) Subject: Adding home option at backup::rdiff X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3c0208869854d71fde284e3c2d6515a6a3d037df;p=puppet-backup.git Adding home option at backup::rdiff --- diff --git a/README b/README index 5f481cb..1c2fbf7 100644 --- a/README +++ b/README @@ -31,4 +31,5 @@ We choose this two stage approach as the experience showed that it's more reliable and fast than to let duplicity do all the job. Note that this is a simple module that don't manages backup users or keys by -itself: you should do that manually or use another puppet module. +itself: you should do that manually or use another puppet module such as +backupninja::server. diff --git a/manifests/init.pp b/manifests/init.pp index 2f6e2b6..30a28ad 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -50,6 +50,7 @@ class backup { # [dest] type => "remote", host => "$title.$domain", + home => "/var/backups/remote/$fqdn", directory => "/var/backups/remote/$fqdn/rdiff", user => "$hostname", sshoptions => "-p $port",