Skip to content

Commit

Permalink
* (#13896) Changed 'jump' to 'action', commands to lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
jashort committed Apr 11, 2012
1 parent 809c9f7 commit e513685
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions examples/iptables/readme.pp
@@ -1,33 +1,33 @@
firewall { '000 allow packets with valid state': firewall { '000 allow packets with valid state':
state => ['RELATED', 'ESTABLISHED'], state => ['RELATED', 'ESTABLISHED'],
jump => 'ACCEPT', action => 'accept',
} }
firewall { '001 allow icmp': firewall { '001 allow icmp':
proto => 'icmp', proto => 'icmp',
jump => 'ACCEPT', action => 'accept',
} }
firewall { '002 allow all to lo interface': firewall { '002 allow all to lo interface':
iniface => 'lo', iniface => 'lo',
jump => 'ACCEPT', action => 'accept',
} }
firewall { '100 allow http': firewall { '100 allow http':
proto => 'tcp', proto => 'tcp',
dport => '80', dport => '80',
jump => 'ACCEPT', action => 'accept',
} }
firewall { '100 allow ssh': firewall { '100 allow ssh':
proto => 'tcp', proto => 'tcp',
dport => '22', dport => '22',
jump => 'ACCEPT', action => 'accept',
} }
firewall { '100 allow mysql from internal': firewall { '100 allow mysql from internal':
proto => 'tcp', proto => 'tcp',
dport => '3036', dport => '3036',
source => '10.5.5.0/24', source => '10.5.5.0/24',
jump => 'ACCEPT', action => 'accept',
} }
firewall { '999 drop everything else': firewall { '999 drop everything else':
jump => 'DROP', action => 'drop',
} }


resources { 'firewall': resources { 'firewall':
Expand Down

0 comments on commit e513685

Please sign in to comment.