module-sshd/manifests/client/base.pp

13 lines
302 B
ObjectPascal
Raw Normal View History

2009-09-29 19:53:04 +02:00
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;
}
2009-09-29 19:53:04 +02:00
# Now collect all server keys
2009-12-27 17:23:51 +01:00
case $sshd_internal_ip {
no: { Sshkey <<||>> }
yes: { Sshkey <<| tag == "fqdn" |>> }
}
2009-09-29 19:53:04 +02:00
}