aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2009-08-27 17:10:56 -0400
committerMicah Anderson <micah@riseup.net>2009-08-27 17:10:56 -0400
commitaaa46561012ac8ab6070f8cd53a111346c586f5f (patch)
treefc4f5eddd7f956169bc226ecf5e34f74649711fc
parent1ec565f20a431ab8b44d655cb59ab01706b5312f (diff)
downloadpuppet-backupninja-aaa46561012ac8ab6070f8cd53a111346c586f5f.tar.gz
puppet-backupninja-aaa46561012ac8ab6070f8cd53a111346c586f5f.tar.bz2
fix the $desthost variable requirement, was incorrectly set to $host
add a $destdir variable requirement
-rw-r--r--manifests/dup.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/dup.pp b/manifests/dup.pp
index afcdab2..f734e5d 100644
--- a/manifests/dup.pp
+++ b/manifests/dup.pp
@@ -88,7 +88,8 @@ define backupninja::duplicity( $order = 90,
# the client with configs for this machine
include backupninja::client
- case $host { false: { err("need to define a host for remote backups!") } }
+ case $desthost { false: { err("need to define a destination host for remote backups!") } }
+ case $destdir { false: { err("need to define a destination directory for remote backups!") } }
# guarantees there's a configured backup space for this backup
backupninja::server::sandbox { "${user}-${name}":