From: mh Date: Thu, 22 Dec 2011 20:30:49 +0000 (+0100) Subject: workaround for bug in C6 version X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=793fbd299e0ad91238f432abc033a575e5b08525;p=puppet-shorewall.git workaround for bug in C6 version --- 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 }