I am currently using Puppet's firewall module:

http://forge.puppetlabs.com/puppetlabs/firewall

I am trying to have Puppet flush iptables before it applies firewall
rules. I tried the following:

exec { 'clear-firewall':
        command => '/sbin/iptables -F',
        refreshonly => true,
}

Firewall {
        subscribe => Exec['clear-firewall'],
        notify => Exec['persist-firewall'],
}

So far, it has not worked. Can anyone suggest or know of another
method I should try?

-- 
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.

Reply via email to