Ho David, On Tuesday, 27 March 2012 19:05:09 UTC+1, David Garvey 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.
[...] Managing firewall using Puppet as well, as per what Jeff suggested, is of course the preferred way to solve this sort of problem, but if you need to check whether a port is open, then have a look: https://github.com/kwilczynski/puppet-functions/blob/master/lib/puppet/parser/functions/is_port_open.rb Jeff will probably not approve of that :-) KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/723yLiwMWB4J. 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.