aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-08-27 21:45:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2009-08-27 21:45:04 -0300
commit31414022aba5918ba5678e27e362bf134848dbe1 (patch)
treeaa3e5eab35676c9fd666385e81813470cb49f612
parent7a77206c6003835f45a3a07ecb4a7f29af29d9d0 (diff)
downloadpuppet-backupninja-31414022aba5918ba5678e27e362bf134848dbe1.tar.gz
puppet-backupninja-31414022aba5918ba5678e27e362bf134848dbe1.tar.bz2
Adding additional clause to avoid blank real_keytype
-rw-r--r--manifests/client.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 04001e7..fa64510 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -8,7 +8,8 @@ class backupninja::client {
default => $backupkeystore,
}
$real_keytype = $backupkeytype ? {
- '' => 'rsa',
+ '' => 'rsa',
+ false => 'rsa',
default => $backupkeytype,
}
$real_keydestination = $keydestination ? {