Skip to content

Commit

Permalink
add support for ed25519 keys
Browse files Browse the repository at this point in the history
Pull request ghoneycutt#282
  • Loading branch information
threepistons authored and piiroim1 committed Oct 9, 2020
1 parent 3b809ef commit e100afe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -958,10 +958,13 @@
$key = $::sshdsakey
}
'ecdsa-sha2-nistp256': {
$key = $::sshecdsakey
$key = $::sshecdsakey
}
'ssh-ed25519': {
$key = $::sshed25519key
}
default: {
fail("ssh::ssh_key_type must be 'ecdsa-sha2-nistp256', 'ssh-rsa', 'rsa', 'ssh-dsa', or 'dsa' and is <${ssh_key_type}>.")
fail("ssh::ssh_key_type must be 'ecdsa-sha2-nistp256', 'ssh-ed25519', 'ssh-rsa', 'rsa', 'ssh-dsa', or 'dsa' and is <${ssh_key_type}>.")
}
}

Expand Down

0 comments on commit e100afe

Please # to comment.