From 974f6ce671799761d380c306e475cab01eac815f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Thu, 5 Jan 2012 09:43:36 +0200 Subject: [PATCH] Fixed firewall module for Fedora 16. --- firewall/manifests/init.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firewall/manifests/init.pp b/firewall/manifests/init.pp index 27452e0..773f39b 100644 --- a/firewall/manifests/init.pp +++ b/firewall/manifests/init.pp @@ -76,7 +76,10 @@ class firewall::common::iptables { name => $operatingsystem ? { centos => [ "iptables", "iptables-ipv6" ], debian => [ "iptables", "iptables-persistent" ], - fedora => [ "iptables", "iptables-ipv6" ], + fedora => $operatingsystemrelease ? { + /^1[0-5]/ => [ "iptables", "iptables-ipv6" ], + default => "iptables", + }, ubuntu => [ "iptables", "iptables-persistent" ], }, }