From b89cc486588ff70b6876f0ea06e72fd82bb510d8 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Mon, 18 Jan 2010 21:37:39 +0100 Subject: [PATCH] does that work? --- modules/munin-node/manifests/init.pp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/munin-node/manifests/init.pp b/modules/munin-node/manifests/init.pp index c3b4a123..9b40cf96 100644 --- a/modules/munin-node/manifests/init.pp +++ b/modules/munin-node/manifests/init.pp @@ -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" + } + } } } -- 2.39.2