diff options
author | mh <mh@immerda.ch> | 2011-12-22 21:30:49 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-12-22 21:30:49 +0100 |
commit | 793fbd299e0ad91238f432abc033a575e5b08525 (patch) | |
tree | 44293e8f617b5c6b85b73d3f37e11dc2c9fc21ff | |
parent | b74e089b30d075e32a7aec7e530ceafefa9e573f (diff) |
workaround for bug in C6 version
-rw-r--r-- | manifests/centos.pp | 10 | ||||
-rw-r--r-- | manifests/init.pp | 2 |
2 files changed, 11 insertions, 1 deletions
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 } |