projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618c807
)
does that work?
author
Martin Zobel-Helas
<zobel@debian.org>
Mon, 18 Jan 2010 20:37:39 +0000
(21:37 +0100)
committer
Martin Zobel-Helas
<zobel@debian.org>
Mon, 18 Jan 2010 20:37:39 +0000
(21:37 +0100)
modules/munin-node/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/munin-node/manifests/init.pp
b/modules/munin-node/manifests/init.pp
index
c3b4a12
..
9b40cf9
100644
(file)
--- 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"
+ }
+ }
}
}