From: Silvio Rhatto Date: Fri, 28 Aug 2009 00:45:04 +0000 (-0300) Subject: Adding additional clause to avoid blank real_keytype X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=31414022aba5918ba5678e27e362bf134848dbe1;p=puppet-backupninja.git Adding additional clause to avoid blank real_keytype --- 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 ? {