From aaa46561012ac8ab6070f8cd53a111346c586f5f Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 27 Aug 2009 17:10:56 -0400 Subject: fix the $desthost variable requirement, was incorrectly set to $host add a $destdir variable requirement --- manifests/dup.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}": -- cgit v1.2.3