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