]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Update formatting of README to meet Puppet Labs best practices
authorWill Hopper <whopper@cat.pdx.edu>
Thu, 28 Jun 2012 22:08:12 +0000 (15:08 -0700)
committerWill Hopper <whopper@cat.pdx.edu>
Thu, 28 Jun 2012 22:09:25 +0000 (15:09 -0700)
README.markdown

index a07702f95a03948f06ca2bd8f8a63a7c510307d7..663a2cc4a2c3e360ae2c81a27649dd37d54bf778 100644 (file)
@@ -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: