]> gitweb.fluxo.info Git - puppet-shorewall.git/commitdiff
workaround for bug in C6 version
authormh <mh@immerda.ch>
Thu, 22 Dec 2011 20:30:49 +0000 (21:30 +0100)
committermh <mh@immerda.ch>
Thu, 22 Dec 2011 20:30:49 +0000 (21:30 +0100)
manifests/centos.pp [new file with mode: 0644]
manifests/init.pp

diff --git a/manifests/centos.pp b/manifests/centos.pp
new file mode 100644 (file)
index 0000000..815e756
--- /dev/null
@@ -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
index 2e6808958b44f950d8cd51cea28871056453461d..7c622220a13c0bd118b2e145ec0e67325a2c9d44 100644 (file)
@@ -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 }