Commit e8b238bf authored by Micah Anderson's avatar Micah Anderson

set a requirement that the rdiff-backup directory variable must be set

parent aaa46561
......@@ -28,6 +28,9 @@ define backupninja::rdiff(
$backuptag = false)
{
include backupninja::client
case $directory { false: { err("need to define a directory for where the backups should go!") } }
case $type {
'remote': {
case $host { false: { err("need to define a host for remote backups!") } }
......
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