On Tue, Mar 27, 2012 at 11:05 AM, david.gar...@gmail.com <
david.gar...@gmail.com> wrote:

> Can I check if a port is open for DSL? I need to check if the box has an
> acl allowing the nagios server to connect via nrpe before writing nagios
> config. If the port is closed I would like to defer the checks to
> mcollective.
>

This is possible, but it would traditionally be done by writing a custom
fact to parse the output of netstat or iptables or something similar.

Really though, would it be better to just have Puppet manage the state of
the port explicitly using something like the firewall module [1] ?

[1] http://forge.puppetlabs.com/puppetlabs/firewall

-Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to