Commit aaa46561 authored by Micah Anderson's avatar Micah Anderson

fix the $desthost variable requirement, was incorrectly set to $host

add a $destdir variable requirement
parent 1ec565f2
......@@ -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}":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment