Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* (#13896) Changed 'jump' to 'action', commands to lower case

  • Loading branch information...
commit e513685c5439c377fc9793ec05ab320ff580755e 1 parent 809c9f7
Jason Short jashort authored
Showing with 13 additions and 13 deletions.
  1. +13 −13 examples/iptables/readme.pp
26 examples/iptables/readme.pp
View
@@ -1,33 +1,33 @@
firewall { '000 allow packets with valid state':
- state => ['RELATED', 'ESTABLISHED'],
- jump => 'ACCEPT',
+ state => ['RELATED', 'ESTABLISHED'],
+ action => 'accept',
}
firewall { '001 allow icmp':
- proto => 'icmp',
- jump => 'ACCEPT',
+ proto => 'icmp',
+ action => 'accept',
}
firewall { '002 allow all to lo interface':
iniface => 'lo',
- jump => 'ACCEPT',
+ action => 'accept',
}
firewall { '100 allow http':
- proto => 'tcp',
- dport => '80',
- jump => 'ACCEPT',
+ proto => 'tcp',
+ dport => '80',
+ action => 'accept',
}
firewall { '100 allow ssh':
- proto => 'tcp',
- dport => '22',
- jump => 'ACCEPT',
+ proto => 'tcp',
+ dport => '22',
+ action => 'accept',
}
firewall { '100 allow mysql from internal':
proto => 'tcp',
dport => '3036',
source => '10.5.5.0/24',
- jump => 'ACCEPT',
+ action => 'accept',
}
firewall { '999 drop everything else':
- jump => 'DROP',
+ action => 'drop',
}
resources { 'firewall':
Please sign in to comment.
Something went wrong with that request. Please try again.