diff --git a/firewall/manifests/init.pp b/firewall/manifests/init.pp index 62cdc2f..bccfb4f 100644 --- a/firewall/manifests/init.pp +++ b/firewall/manifests/init.pp @@ -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"), }