module-sshd/manifests/client/base.pp
2010-01-30 21:32:12 -02:00

12 lines
300 B
Puppet

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_shared_ip {
no: { Sshkey <<||>> }
yes: { Sshkey <<| tag == "fqdn" |>> }
}
}