summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-04-25 10:43:41 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-04-25 10:43:41 +0000
commit6bc29ac288bcc25dec161a96679f1ac872f11837 (patch)
treeaf3bbe41778a07941951078b33baf5050b8a7e2f /manifests/client.pp
parent540d97e640a7b1415cdaffae922a5253f0e3790d (diff)
another try to fix this problem
git-svn-id: https://svn/ipuppet/trunk/modules/munin@1261 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 08fc3ba..2208b8d 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -59,7 +59,7 @@ class munin::client::base {
ensure => directory,
mode => 0755, owner => root, group => 0;
"/etc/munin/munin-node.conf":
- content => template("munin/munin-node.conf.$operatingsystem.$lsbdistcodename"),
+ content => template("munin/munin-node.conf.$operatingsystem"),
mode => 0644, owner => root, group => 0,
# this has to be installed before the package, so the postinst can
# boot the munin-node without failure!
@@ -99,6 +99,9 @@ class munin::client::debian inherits munin::client::base {
# sarge's munin-node init script has no status
hasstatus => $lsbdistcodename ? { sarge => false, default => true }
}
+ File["/etc/munin/munin-node.conf"]{
+ content => template("munin/munin-node.conf.$operatingsystem"),
+ }
# workaround bug in munin_node_configure
plugin { "postfix_mailvolume": ensure => absent }
include munin::plugins::debian
@@ -111,9 +114,7 @@ class munin::client::gentoo inherits munin::client::base {
name => 'munin',
category => 'net-analyzer',
}
- File["/etc/munin/munin-node.conf"]{
- content => template("munin/munin-node.conf.$operatingsystem"),
- }
+
include munin::plugins::gentoo
}