From: Will Hopper Date: Thu, 28 Jun 2012 22:08:12 +0000 (-0700) Subject: Update formatting of README to meet Puppet Labs best practices X-Git-Tag: 0.1.0~17^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=176c9ec093b2e50a1e7fab8da57a487d6725faee;p=puppet-modules%2Fpuppetlabs-firewall.git Update formatting of README to meet Puppet Labs best practices --- diff --git a/README.markdown b/README.markdown index a07702f..663a2cc 100644 --- a/README.markdown +++ b/README.markdown @@ -158,7 +158,7 @@ And an example of a post class: Basic accept ICMP request example: firewall { "000 accept all icmp requests": - proto => "icmp", + proto => "icmp", action => "accept", } @@ -171,12 +171,12 @@ Drop all: Source NAT example (perfect for a virtualization host): firewall { '100 snat for network foo2': - chain => 'POSTROUTING', - jump => 'MASQUERADE', - proto => 'all', + chain => 'POSTROUTING', + jump => 'MASQUERADE', + proto => 'all', outiface => "eth0", - source => ['10.1.2.0/24'], - table => 'nat', + source => ['10.1.2.0/24'], + table => 'nat', } Creating a new rule that forwards to a chain, then adding a rule to this chain: