diff options
author | Micah Anderson <micah@riseup.net> | 2009-12-22 21:00:14 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-12-22 21:00:14 -0500 |
commit | 8067746d6c6efde6cc3d67177910aa96f9491652 (patch) | |
tree | 160b8e27570bbe65e6f8a2217e961d5aced425bc /manifests/plugins | |
parent | 556b274473452c9f95a02714e7686d3918f54dde (diff) |
the 'users' munin plugin seems to be a centos-specific one, so we
setup a special munin::plugins::centos and include that in the proper
client case statement for centos
Diffstat (limited to 'manifests/plugins')
-rw-r--r-- | manifests/plugins/base.pp | 2 | ||||
-rw-r--r-- | manifests/plugins/centos.pp | 3 |
2 files changed, 4 insertions, 1 deletions
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; } +} |