aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-08-27 21:30:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2009-08-27 21:30:21 -0300
commit7a77206c6003835f45a3a07ecb4a7f29af29d9d0 (patch)
tree7ffadb61ee6910fa9a9c28c9303cc2c1994b4811
parent51fa752d2f4f8e68c933483c8c772181de96f4bf (diff)
downloadpuppet-backupninja-7a77206c6003835f45a3a07ecb4a7f29af29d9d0.tar.gz
puppet-backupninja-7a77206c6003835f45a3a07ecb4a7f29af29d9d0.tar.bz2
Adding additional clause to avoid blank keytype
-rw-r--r--manifests/client.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index c3d186d..04001e7 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -66,6 +66,7 @@ class backupninja::client {
default => $keystore,
}
$key_type = $keytype ? {
+ '' => "${backupninja::client::real_keytype}",
false => "${backupninja::client::real_keytype}",
default => $keytype,
}