diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-08-27 20:50:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-08-27 20:50:23 -0300 |
commit | 73993f09fe8e479706084f47da833796b131a45a (patch) | |
tree | 8a5843044ab08445e0927e43240760e75481e598 /manifests/rdiff.pp | |
parent | 149cba805ca00077bc8cd663542ee755516b032a (diff) | |
parent | 08d43f8c6d6a60f456cb82f2fb270f48470c96d7 (diff) |
Merge branch 'master' of git://labs.riseup.net/module_backupninja
Diffstat (limited to 'manifests/rdiff.pp')
-rw-r--r-- | manifests/rdiff.pp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp index 2eb1d9b..d34fc88 100644 --- a/manifests/rdiff.pp +++ b/manifests/rdiff.pp @@ -28,6 +28,9 @@ define backupninja::rdiff( $backuptag = false, $home = false, $backupkeytype = '') { 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!") } } |