forgot lsbdistcodename in debian
authormh <mh@immerda.ch>
Fri, 25 Apr 2008 11:03:45 +0000 (11:03 +0000)
committermh <mh@immerda.ch>
Fri, 25 Apr 2008 11:03:45 +0000 (11:03 +0000)
manifests/client.pp

index 2208b8d..b2bad8b 100644 (file)
@@ -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 }