From: Ken Barber Date: Fri, 16 Mar 2012 17:11:03 +0000 (-0700) Subject: (#10162) Fix examples for firewallchain in README X-Git-Tag: 0.1.0~40^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5b053f0d1139888b28fa41d43e99ae167b8cc03b;p=puppet-modules%2Fpuppetlabs-firewall.git (#10162) Fix examples for firewallchain in README --- diff --git a/README.markdown b/README.markdown index b80d292..bbef110 100644 --- a/README.markdown +++ b/README.markdown @@ -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: