aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
) {