From 793fbd299e0ad91238f432abc033a575e5b08525 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 22 Dec 2011 21:30:49 +0100 Subject: workaround for bug in C6 version --- manifests/centos.pp | 10 ++++++++++ manifests/init.pp | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 manifests/centos.pp (limited to 'manifests') diff --git a/manifests/centos.pp b/manifests/centos.pp new file mode 100644 index 0000000..815e756 --- /dev/null +++ b/manifests/centos.pp @@ -0,0 +1,10 @@ +class shorewall::centos inherits shorewall::base { + if $lsbmajdistrelease == '6' { + # workaround for + # http://comments.gmane.org/gmane.comp.security.shorewall/26991 + file{'/etc/shorewall/params': + ensure => link, + target => '/etc/shorewall/puppet/params', + } + } +} \ No newline at end of file diff --git a/manifests/init.pp b/manifests/init.pp index 2e68089..7c62222 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -3,7 +3,7 @@ class shorewall { case $operatingsystem { gentoo: { include shorewall::gentoo } debian: { include shorewall::debian } - centos: { include shorewall::base } + centos: { include shorewall::centos } ubuntu: { case $lsbdistcodename { karmic: { include shorewall::ubuntu::karmic } -- cgit v1.2.3