module-sshd/manifests/client/base.pp
2014-01-26 18:26:34 +01:00

15 rivejä
344 B
Puppet

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
case $sshd::client::shared_ip {
no: { Sshkey <<||>> }
yes: { Sshkey <<| tag == fqdn |>> }
}
}