]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
Adding additional clause to avoid blank real_keytype
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Aug 2009 00:45:04 +0000 (21:45 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Aug 2009 00:45:04 +0000 (21:45 -0300)
manifests/client.pp

index 04001e7b844e7a5269635ba471a3f37c89afdbb5..fa64510a7dcfa3cf5a65a3a0742e0508312999c4 100644 (file)
@@ -8,7 +8,8 @@ class backupninja::client {
     default => $backupkeystore,
   }
   $real_keytype = $backupkeytype ? {
-    '' => 'rsa',
+    ''      => 'rsa',
+    false   => 'rsa',
     default => $backupkeytype,
   }
   $real_keydestination = $keydestination ? {