Signed-off-by: Stephen Gran <steve@lobefin.net>
$localinfo = yamlinfo('*', "/etc/puppet/modules/debian-org/misc/local.yaml")
$nodeinfo = nodeinfo($fqdn, "/etc/puppet/modules/debian-org/misc/local.yaml")
$hoster = whohosts($nodeinfo, "/etc/puppet/modules/debian-org/misc/hoster.yaml")
+ $keyinfo = allnodeinfo("sshRSAHostKey", "ipHostNumber")
notice("hoster for ${fqdn} is ${hoster}")
$mxinfo = allnodeinfo("mXRecord")
openssh-server: ensure => installed;
}
- case $hostname {
- bartok, beethoven: {
- $keyinfo = allnodeinfo("sshRSAHostKey", "ipHostNumber")
- }
- }
-
-
file { "/etc/ssh/ssh_config":
source => [ "puppet:///ssh/ssh_config" ],
require => Package["openssh-client"]