Revert "firewall: Do not start ip6tables when no IPv6 addres is configured."

This reverts commit 2ce573e809.
This commit is contained in:
Timo Mäkinen 2013-05-08 11:41:25 +03:00
parent eceba9a0d2
commit 5d64d37d54

View file

@ -161,7 +161,7 @@ class firewall::common::iptables {
require => Package["iptables"],
}
if $ip6tables and $::ipaddress6 {
if $ip6tables {
file { $ip6tables:
ensure => present,
mode => "0600",
@ -207,7 +207,7 @@ class firewall::iptables inherits firewall::common::iptables {
content => template("firewall/iptables.erb"),
}
if $firewall::common::iptables::ip6tables and $::ipaddress6 {
if $firewall::common::iptables::ip6tables {
File[$firewall::common::iptables::ip6tables] {
content => template("firewall/ip6tables.erb"),
}