aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-11 07:54:09 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-11 07:54:09 -0300
commit0fe85b35f30d095894d5f5188a351b11c28fc408 (patch)
tree243bceddfb90a375de09935b1dc17353fb93530f
parentd28abdcacbe5fe09db4dec3d2de391d39ae9d414 (diff)
downloadpuppet-sshd-0fe85b35f30d095894d5f5188a351b11c28fc408.tar.gz
puppet-sshd-0fe85b35f30d095894d5f5188a351b11c28fc408.tar.bz2
Avoid evaluation error for selector entry
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e3f8756..3d569e2 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -50,9 +50,9 @@ class sshd(
$sshkey_ipaddress = $::ipaddress,
$manage_client = true,
$hostkey_type = versioncmp($::ssh_version, '6.5') ? {
- 0 => [ 'rsa', 'ed25519' ],
- 1 => [ 'rsa', 'ed25519' ],
- -1 => [ 'rsa', 'dsa' ]
+ 0 => [ 'rsa', 'ed25519' ],
+ 1 => [ 'rsa', 'ed25519' ],
+ default => [ 'rsa', 'dsa' ]
},
$use_storedconfigs = true
) {