Skip to content

Commit

Permalink
Merge pull request redhat-openstack#10 from kepstin/sshecdsakey
Browse files Browse the repository at this point in the history
Export ECDSA hostkeys
  • Loading branch information
saz committed Feb 1, 2013
2 parents c56be03 + 6215b24 commit 2af255c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/hostkeys.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,11 @@
type => rsa,
key => $::sshrsakey,
}
if $::sshecdsakey {
@@sshkey { "${::fqdn}_ecdsa":
host_aliases => $host_aliases,
type => 'ecdsa-sha2-nistp256',
key => $::sshecdsakey,
}
}
}

0 comments on commit 2af255c

Please sign in to comment.