aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/rdiff.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp
index e3964d0..1207cb1 100644
--- a/manifests/rdiff.pp
+++ b/manifests/rdiff.pp
@@ -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!") } }