summaryrefslogtreecommitdiff
path: root/manifests/client/base.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client/base.pp')
-rw-r--r--manifests/client/base.pp14
1 files changed, 8 insertions, 6 deletions
diff --git a/manifests/client/base.pp b/manifests/client/base.pp
index b3fcc4a..17387e8 100644
--- a/manifests/client/base.pp
+++ b/manifests/client/base.pp
@@ -1,6 +1,6 @@
class munin::client::base {
service { 'munin-node':
- ensure => running,
+ ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
@@ -14,10 +14,12 @@ class munin::client::base {
default => $munin_allow
}
file {'/etc/munin/munin-node.conf':
- content => template("munin/munin-node.conf.$operatingsystem"),
+ content => template("munin/munin-node.conf.$operatingsystem"),
notify => Service['munin-node'],
- mode => 0644, owner => root, group => 0,
- }
- munin::register { $fqdn: }
- include munin::plugins::base
+ mode => 0644, owner => root, group => 0,
+ }
+ munin::register { $fqdn:
+ config => [ 'use_node_name yes', 'load.load.warning 5', 'load.load.critical 10'],
+ }
+ include munin::plugins::base
}