]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(#10162) Fix examples for firewallchain in README
authorKen Barber <ken@bob.sh>
Fri, 16 Mar 2012 17:11:03 +0000 (10:11 -0700)
committerKen Barber <ken@bob.sh>
Fri, 16 Mar 2012 17:11:03 +0000 (10:11 -0700)
README.markdown

index b80d292c205e4e35aae313eb486cb92ac51076e9..bbef1101eb59bd3bbbc2b5deee191053a856bb7c 100644 (file)
@@ -105,7 +105,7 @@ Creating a new rule that forwards to a chain, then adding a rule to this chain:
     firewall { '100 forward to MY_CHAIN':
       chain   => 'INPUT',
       jump    => 'MY_CHAIN',
-      require => Firewallchain["filter:MY_CHAIN:IPv4"],
+      require => Firewallchain["MY_CHAIN:filter:IPv4"],
     }
     # The namevar here is in the format chain_name:table:protocol
     firewallchain { 'MY_CHAIN:filter:IPv4':
@@ -116,6 +116,7 @@ Creating a new rule that forwards to a chain, then adding a rule to this chain:
       action  => 'accept',
       proto   => 'tcp',
       dport   => 5000,
+      require => Firewallchain["MY_CHAIN:filter:IPv4"],
     }
 
 You can make firewall rules persistent with the following iptables example: