From 749720b1ff73ca7ec86f4b2a03e8d1a6c54a8b30 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Tue, 31 Mar 2015 10:43:06 -0400 Subject: [PATCH] (MODULES-1866) Update documentation for purging firewall chains --- README.markdown | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- 2.45.2