diff options
author | mh <mh@immerda.ch> | 2008-01-30 21:37:34 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-01-30 21:37:34 +0000 |
commit | 9082862f719e3fe9eac5192114893e4281a6d1fb (patch) | |
tree | b25e6395540683e05e2da32a9b507e296ff9bc87 /manifests/client.pp | |
parent | 67c51ff64235a6e4df9acdd9d7aa7c28fa547354 (diff) |
rearranged some stuff
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index 2e8f018..1aa0e88 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -40,7 +40,7 @@ class munin::client { default: { include munin::plugins::linux case $virtual { - xen0: { include munin::plugins::xen } + xen0: { include munin::plugins::dom0 } } } } @@ -100,6 +100,7 @@ class munin::client::darwin class munin::client::debian { + $script_path_default = "/usr/share/munin/plugins" package { "munin-node": ensure => installed } @@ -130,13 +131,15 @@ class munin::client::debian class munin::client::gentoo { - package { 'munin': + $script_path_default = "/usr/libexec/munin/plugins" + $acpi_available = "absent" + package { 'munin': ensure => present, category => $operatingsystem ? { gentoo => 'net-analyzer', default => '', }, - } + } file { @@ -157,18 +160,18 @@ class munin::client::gentoo } munin::register { $fqdn: } - } class munin::client::centos { - package { 'munin-node': + $script_path_default = "/usr/share/munin/plugins" + package { 'munin-node': ensure => present, category => $operatingsystem ? { gentoo => 'net-analyzer', default => '', }, - } + } file { |