The priority should be:
1 - $sshd_listen_address defined in node template
2 - $ipaddress_eth1 fact if defined
3 - $ipaddress fact
case $sshd_listen_address {
'': {
if $ipaddress_eth1 {
$sshd_listen_address = $ipadress_eth1
} else {
$sshd_listen_address = $ipaddress
}
}
}
4 - default = 0.0.0.0 (probably not necessary since $ipaddress
should always be defined..?)
will always be defined.
cheers pete
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.