blob: 4091daf2f6ff0761f61c420a1e1db4177cd027ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class sshd::client::base {
# this is needed because the gid might have changed
file { '/etc/ssh/ssh_known_hosts':
ensure => present,
mode => '0644',
owner => root,
group => 0;
}
# Now collect all server keys
if $::sshd::use_storedconfigs {
case $sshd::client::shared_ip {
no: { Sshkey <<||>> }
yes: { Sshkey <<| tag == fqdn |>> }
}
}
}
|