]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
does that work?
authorMartin Zobel-Helas <zobel@debian.org>
Mon, 18 Jan 2010 20:37:39 +0000 (21:37 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Mon, 18 Jan 2010 20:37:39 +0000 (21:37 +0100)
modules/munin-node/manifests/init.pp

index c3b4a1236a3a4cb6890881be1984daec0216b5d8..9b40cf965cf648320682e9a6cd0af85f377d3e74 100644 (file)
@@ -75,10 +75,14 @@ class munin-node {
         path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
         refreshonly => true,
     }
-    ferm::rule { "dsa-munin":
-        description     => "Allow munin-node from spohr.debian.org",
-        rule            => "proto tcp dport 4949 saddr $HOST_MUNIN ACCEPT",
-       prio            => "02"
+    case $ferm {
+       "true": {
+           ferm::rule { "dsa-munin":
+               description     => "Allow munin-node from spohr.debian.org",
+               rule            => 'proto tcp dport 4949 saddr $HOST_MUNIN ACCEPT',
+               prio            => "02"
+          }
+       }
    }
 }