File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
modules/iptables/manifests Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 6565
6666 # IPv4
6767 concat { $ipv4file:
68- ensure => present ,
69- backup => true ,
70- warn => ' # This file is managed by Puppet. Do not edit.' ,
71- order => ' numeric' ,
72- validate_cmd => ' /usr/sbin/iptables-restore -t < %' ,
73- notify => Exec[' enforce-puppet-iptables' ],
68+ ensure => present ,
69+ backup => true ,
70+ warn => ' # This file is managed by Puppet. Do not edit.' ,
71+ order => ' numeric' ,
72+ validate_cmd => ' /usr/sbin/iptables-restore -t < %' ,
73+ ensure_newline => true ,
74+ notify => Exec[' enforce-puppet-iptables' ],
7475 }
7576
7677 exec { 'enforce-puppet-iptables' :
9899
99100 # IPv6
100101 concat { $ipv6file:
101- ensure => present ,
102- backup => true ,
103- warn => ' # This file is managed by Puppet. Do not edit.' ,
104- order => numeric,
105- validate_cmd => ' /usr/sbin/ip6tables-restore -t < %' ,
106- notify => Exec[' enforce-puppet-ip6tables' ],
102+ ensure => present ,
103+ backup => true ,
104+ warn => ' # This file is managed by Puppet. Do not edit.' ,
105+ order => numeric,
106+ validate_cmd => ' /usr/sbin/ip6tables-restore -t < %' ,
107+ ensure_newline => true ,
108+ notify => Exec[' enforce-puppet-ip6tables' ],
107109 }
108110
109111 exec { 'enforce-puppet-ip6tables' :
You can’t perform that action at this time.
0 commit comments