From: Martin Zobel-Helas Date: Mon, 18 Jan 2010 20:37:39 +0000 (+0100) Subject: does that work? X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b89cc486588ff70b6876f0ea06e72fd82bb510d8;p=mirror%2Fdsa-puppet.git does that work? --- diff --git a/modules/munin-node/manifests/init.pp b/modules/munin-node/manifests/init.pp index c3b4a1236..9b40cf965 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" + } + } } }