summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-01 18:29:58 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-01 18:29:58 +0000
commita382a6c63ec1487f437d77630c0f4bcbc4c83a0c (patch)
tree4944030435d748595677468cfc6481e2fcc2e9cc
parent1f2ad708412857057791b4927372bf59465ca469 (diff)
fixed some service correlation
git-svn-id: https://rfd.cronopios.org/ipuppet/trunk/modules/munin@707 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
-rw-r--r--manifests/client.pp9
1 files changed, 3 insertions, 6 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 510945d..df60a77 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -134,6 +134,7 @@ class munin::client::gentoo
$script_path_default = "/usr/libexec/munin/plugins"
$acpi_available = "absent"
package { 'munin':
+ alias => 'munin-node'
ensure => present,
category => $operatingsystem ? {
gentoo => 'net-analyzer',
@@ -159,7 +160,7 @@ class munin::client::gentoo
mode => 0644, owner => root, group => 0,
# this has to be installed before the package, so the postinst can
# boot the munin-node without failure!
- before => Package["munin"],
+ before => Package["munin-node"],
# notify => Service["munin"],
}
@@ -175,10 +176,6 @@ class munin::client::centos
$script_path_default = "/usr/share/munin/plugins"
package { 'munin':
ensure => present,
- category => $operatingsystem ? {
- gentoo => 'net-analyzer',
- default => '',
- },
}
@@ -191,7 +188,7 @@ class munin::client::centos
mode => 0644, owner => root, group => 0,
# this has to be installed before the package, so the postinst can
# boot the munin-node without failure!
- before => Package["munin"],
+ before => Package["munin-node"],
notify => Service["munin"],
}