Commit e8b238bf authored by Micah Anderson's avatar Micah Anderson
Browse files

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

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