]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(MODULES-1866) Update documentation for purging firewall chains
authorMorgan Haskel <morgan@puppetlabs.com>
Tue, 31 Mar 2015 14:43:06 +0000 (10:43 -0400)
committerMorgan Haskel <morgan@puppetlabs.com>
Tue, 31 Mar 2015 14:43:25 +0000 (10:43 -0400)
README.markdown

index 8e46d36f43017e338e69cecb58b84f8074a2b528..42eab8e903df4c08051342e5a3a2b809223d9364 100644 (file)
@@ -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