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