Skip to content

Commit 2af255c

Browse files
committed
Merge pull request redhat-openstack#10 from kepstin/sshecdsakey
Export ECDSA hostkeys
2 parents c56be03 + 6215b24 commit 2af255c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

manifests/hostkeys.pp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,11 @@
1212
type => rsa,
1313
key => $::sshrsakey,
1414
}
15+
if $::sshecdsakey {
16+
@@sshkey { "${::fqdn}_ecdsa":
17+
host_aliases => $host_aliases,
18+
type => 'ecdsa-sha2-nistp256',
19+
key => $::sshecdsakey,
20+
}
21+
}
1522
}

0 commit comments

Comments
 (0)