fixed typo
[puppet_munin.git] / manifests / client.pp
index 7dcbbe1..dbf175a 100644 (file)
@@ -39,9 +39,6 @@ class munin::client {
                                guest: { include munin::plugins::vserver }
                                default: {
                                        include munin::plugins::linux
-                                       case $virtual {
-                                               xen0: { include munin::plugins::dom0 }
-                                       }
                                }
                        }
                }
@@ -49,6 +46,11 @@ class munin::client {
                        err( "Don't know which munin plugins to install for $kernel" )
                }
        }
+       case $virtual {
+        physical: { include munin::plugins::physical }
+           xen0: { include munin::plugins::dom0 }
+        xenu: { include munin::plugins::domU }
+    }
 
 }
 
@@ -100,8 +102,6 @@ class munin::client::darwin
 
 class munin::client::debian 
 {
-    $script_path_default =  "/usr/share/munin/plugins"
-
        package { "munin-node": ensure => installed }
     # the plugin will need that
        package { "iproute": ensure => installed }
@@ -133,10 +133,9 @@ class munin::client::debian
 
 class munin::client::gentoo 
 {
-    $script_path_default =  "/usr/libexec/munin/plugins"
     $acpi_available = "absent"
-    package { 'munin':
-                alias => munin-node,
+    package { 'munin-node':
+                name => 'munin',
                 ensure => present,
                 category => $operatingsystem ? {
                         gentoo => 'net-analyzer',
@@ -144,15 +143,6 @@ class munin::client::gentoo
                 },
     }
 
-    # link
-    # mh: really needed?
-#    file{
-#        "/etc/init.d/munin":
-#            ensure => "/etc/init.d/munin-node",
-#    }
-
-
-
        file {
                "/etc/munin/":
                        ensure => directory,
@@ -175,7 +165,6 @@ class munin::client::gentoo
 
 class munin::client::centos 
 {
-    $script_path_default =  "/usr/share/munin/plugins"
     package { 'munin-node':
                 ensure => present,
     }