firewall: Added ip6tables to firewall::custom::iptables
This commit is contained in:
parent
e3bcf4c1f2
commit
e8e9a2a54e
1 changed files with 8 additions and 1 deletions
|
@ -223,11 +223,18 @@ class firewall::iptables inherits firewall::common::iptables {
|
|||
#
|
||||
class firewall::custom::iptables inherits firewall::common::iptables {
|
||||
|
||||
File["/etc/sysconfig/iptables"] {
|
||||
File[$firewall::common::iptables::iptables] {
|
||||
source => [ "puppet:///files/firewall/iptables.${::homename}",
|
||||
"puppet:///files/firewall/iptables", ],
|
||||
}
|
||||
|
||||
if $firewall::common::iptables::ip6tables and $::ipv6enabled == "true" {
|
||||
File[$firewall::common::iptables::ip6tables] {
|
||||
source => [ "puppet:///files/firewall/ip6tables.${::homename}",
|
||||
"puppet:///files/firewall/ip6tables", ],
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue