From: Ewoud Kohl van Wijngaarden Date: Wed, 3 Jun 2015 10:40:59 +0000 (+0200) Subject: Fix puppet lint errors in examples X-Git-Tag: 1.7.0~33^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e3e10c253e04b778977a7132f0bedef50019beaa;p=puppet-modules%2Fpuppetlabs-firewall.git Fix puppet lint errors in examples --- diff --git a/README.markdown b/README.markdown index cbcee2e..98d642e 100644 --- a/README.markdown +++ b/README.markdown @@ -78,24 +78,24 @@ The rules in the `pre` and `post` classes are fairly general. These two classes # Default firewall rules firewall { '000 accept all icmp': - proto => 'icmp', - action => 'accept', + proto => 'icmp', + action => 'accept', }-> firewall { '001 accept all to lo interface': proto => 'all', iniface => 'lo', action => 'accept', }-> - firewall { "002 reject local traffic not on loopback interface": + firewall { '002 reject local traffic not on loopback interface': iniface => '! lo', proto => 'all', destination => '127.0.0.1/8', action => 'reject', }-> firewall { '003 accept related established rules': - proto => 'all', - state => ['RELATED', 'ESTABLISHED'], - action => 'accept', + proto => 'all', + state => ['RELATED', 'ESTABLISHED'], + action => 'accept', } } ~~~ @@ -107,9 +107,9 @@ The rules in the `pre` and `post` classes are fairly general. These two classes ~~~puppet class my_fw::post { firewall { '999 drop all': - proto => 'all', - action => 'drop', - before => undef, + proto => 'all', + action => 'drop', + before => undef, } } ~~~