diff options
author | Micah Anderson <micah@riseup.net> | 2009-08-27 17:19:20 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-08-27 17:19:20 -0400 |
commit | 4c1bf41b5a0b7969043dd480f903d403d16c6994 (patch) | |
tree | 8c93c8cc22e09b87c80e8b0fc3b09754be1b9ff9 | |
parent | e8b238bf014cefd1f4077b9d96113cf0463ab3b4 (diff) | |
download | puppet-backupninja-4c1bf41b5a0b7969043dd480f903d403d16c6994.tar.gz puppet-backupninja-4c1bf41b5a0b7969043dd480f903d403d16c6994.tar.bz2 |
the $password variable also must be set, so spit an error if it is not defined
-rw-r--r-- | manifests/dup.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/dup.pp b/manifests/dup.pp index f734e5d..ca996b8 100644 --- a/manifests/dup.pp +++ b/manifests/dup.pp @@ -90,6 +90,7 @@ define backupninja::duplicity( $order = 90, 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!") } } + case $password { false: { err("a password is necessary either to unlock the GPG key, or for symmetric encryption!") } } # guarantees there's a configured backup space for this backup backupninja::server::sandbox { "${user}-${name}": |