projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new $vcs SSL cert
[mirror/dsa-puppet.git]
/
modules
/
ssh
/
manifests
/
init.pp
diff --git
a/modules/ssh/manifests/init.pp
b/modules/ssh/manifests/init.pp
index
0824f0f
..
8e61da6
100644
(file)
--- a/
modules/ssh/manifests/init.pp
+++ b/
modules/ssh/manifests/init.pp
@@
-36,4
+36,12
@@
class ssh {
file { '/etc/ssh/userkeys/root':
content => template('ssh/authorized_keys.erb'),
}
file { '/etc/ssh/userkeys/root':
content => template('ssh/authorized_keys.erb'),
}
+
+ if ($::lsbmajdistrelease >= 8) {
+ if ! $has_etc_ssh_ssh_host_ed25519_key {
+ exec { 'create-ed25519-host-key':
+ command => 'ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -q -P "" -t ed25519',
+ }
+ }
+ }
}
}