summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-04-25 11:03:45 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-04-25 11:03:45 +0000
commit561b770f24a688842bfad68143826aefd8ab1fd0 (patch)
tree2722f3e4eb22f846729822c6a7923fffd0bc9fac /manifests/client.pp
parent6bc29ac288bcc25dec161a96679f1ac872f11837 (diff)
forgot lsbdistcodename in debian
git-svn-id: https://svn/ipuppet/trunk/modules/munin@1262 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 2208b8d..b2bad8b 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -1,6 +1,7 @@
# client.pp - configure a munin node
# Copyright (C) 2007 David Schmitt <david@schmitt.edv-bus.at>
# See LICENSE for the full license granted to you.
+# Adapted and improved by admin(at)immerda.ch
class munin::client {
@@ -100,7 +101,7 @@ class munin::client::debian inherits munin::client::base {
hasstatus => $lsbdistcodename ? { sarge => false, default => true }
}
File["/etc/munin/munin-node.conf"]{
- content => template("munin/munin-node.conf.$operatingsystem"),
+ content => template("munin/munin-node.conf.$operatingsystem.$lsbdistcodename"),
}
# workaround bug in munin_node_configure
plugin { "postfix_mailvolume": ensure => absent }