From 31414022aba5918ba5678e27e362bf134848dbe1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 27 Aug 2009 21:45:04 -0300 Subject: Adding additional clause to avoid blank real_keytype --- manifests/client.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests/client.pp') 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 ? { -- cgit v1.2.3