summaryrefslogtreecommitdiff
path: root/manifests
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
commit1116b7ecf0b2760e09e589543a1a6fb9a6fed38b (patch)
tree4944030435d748595677468cfc6481e2fcc2e9cc /manifests
parent25484de8fd6c7908b21cb0fcfde08f95f9244c46 (diff)
fixed some service correlation
git-svn-id: https://svn/ipuppet/trunk/modules/munin@707 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-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"],
}