diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-08-26 21:08:48 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-08-26 21:08:48 -0300 |
commit | 3c0208869854d71fde284e3c2d6515a6a3d037df (patch) | |
tree | 9e268358eaf3b2317f3ba42d16948eb674af3a9a | |
parent | 7b3998d918b08f52db36b3842c1fe28393f41e93 (diff) | |
download | puppet-backup-3c0208869854d71fde284e3c2d6515a6a3d037df.tar.gz puppet-backup-3c0208869854d71fde284e3c2d6515a6a3d037df.tar.bz2 |
Adding home option at backup::rdiff
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | manifests/init.pp | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -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", |