aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-08-26 21:08:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2009-08-26 21:08:48 -0300
commit3c0208869854d71fde284e3c2d6515a6a3d037df (patch)
tree9e268358eaf3b2317f3ba42d16948eb674af3a9a
parent7b3998d918b08f52db36b3842c1fe28393f41e93 (diff)
downloadpuppet-backup-3c0208869854d71fde284e3c2d6515a6a3d037df.tar.gz
puppet-backup-3c0208869854d71fde284e3c2d6515a6a3d037df.tar.bz2
Adding home option at backup::rdiff
-rw-r--r--README3
-rw-r--r--manifests/init.pp1
2 files changed, 3 insertions, 1 deletions
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",