module-sshd/manifests/client/base.pp
Silvio Rhatto 474b23271d Merge branch 'master' of git://labs.riseup.net/shared-sshd
Conflicts:
	templates/sshd_config/Debian_squeeze.erb
2011-02-19 18:08:02 -02:00

11 lines
262 B
Puppet

class sshd::client::base {
# this is needed because the gid might have changed
config_file { '/etc/ssh/ssh_known_hosts':
}
# Now collect all server keys
case $sshd_shared_ip {
no: { Sshkey <<||>> }
yes: { Sshkey <<| tag == "fqdn" |>> }
}
}