From: Morgan Haskel Date: Tue, 31 Mar 2015 14:43:06 +0000 (-0400) Subject: (MODULES-1866) Update documentation for purging firewall chains X-Git-Tag: 1.6.0~21^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=749720b1ff73ca7ec86f4b2a03e8d1a6c54a8b30;p=puppet-modules%2Fpuppetlabs-firewall.git (MODULES-1866) Update documentation for purging firewall chains --- diff --git a/README.markdown b/README.markdown index 8e46d36..42eab8e 100644 --- a/README.markdown +++ b/README.markdown @@ -123,10 +123,20 @@ Rules are persisted automatically between reboots, although there are known issu **Note** - This only purges IPv4 rules. ```puppet - resources { "firewall": + resources { 'firewall': purge => true } ``` + + To purge unmanaged firewall chains, also add: + + ```puppet + resources { 'firewallchain': + purge => true + } + ``` + **Note** - If there are unmanaged rules in unmanaged chains it will take two Puppet runs before the firewall chain is purged. + 2.) Use the following code to set up the default parameters for all of the firewall rules you will establish later. These defaults will ensure that the `pre` and `post` classes are run in the correct order to avoid locking you out of your box during the first Puppet run. ```puppet