summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/client/package.pp1
-rw-r--r--manifests/plugins/base.pp2
-rw-r--r--manifests/plugins/centos.pp3
3 files changed, 5 insertions, 1 deletions
diff --git a/manifests/client/package.pp b/manifests/client/package.pp
index 58f40da..1b124d0 100644
--- a/manifests/client/package.pp
+++ b/manifests/client/package.pp
@@ -8,4 +8,5 @@ class munin::client::package inherits munin::client::base {
# boot the munin-node without failure!
before => Package['munin-node'],
}
+ include munin::plugins::centos
}
diff --git a/manifests/plugins/base.pp b/manifests/plugins/base.pp
index 4658acc..5fc2476 100644
--- a/manifests/plugins/base.pp
+++ b/manifests/plugins/base.pp
@@ -15,7 +15,7 @@ class munin::plugins::base {
munin::plugin {
[ df, cpu, interrupts, load, memory, netstat, open_files,
- processes, swap, uptime, users, vmstat
+ processes, swap, uptime, vmstat
]:
ensure => present,
}
diff --git a/manifests/plugins/centos.pp b/manifests/plugins/centos.pp
new file mode 100644
index 0000000..60c706c
--- /dev/null
+++ b/manifests/plugins/centos.pp
@@ -0,0 +1,3 @@
+class munin::plugins::centos inherits munin::plugins::base {
+ munin::plugin { users: ensure => present; }
+}