]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
fix the $desthost variable requirement, was incorrectly set to $host
authorMicah Anderson <micah@riseup.net>
Thu, 27 Aug 2009 21:10:56 +0000 (17:10 -0400)
committerMicah Anderson <micah@riseup.net>
Thu, 27 Aug 2009 21:10:56 +0000 (17:10 -0400)
add a $destdir variable requirement

manifests/dup.pp

index afcdab253c9ed6f4457752d5fefbbfd39f260398..f734e5d0de58bf954ae4bd37cec9642d20a03917 100644 (file)
@@ -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}":