]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Including munin::client everywhere
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Feb 2010 01:00:10 +0000 (23:00 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Feb 2010 01:00:10 +0000 (23:00 -0200)
manifests/init.pp

index 33b485fcb34294f90b5473cfda0016058dc0a4ee..328e71de93717eb371a19e2526a251b3b9fe3180 100644 (file)
@@ -24,6 +24,7 @@ class nodo {
   include motd
   include utils
   include cron
+  include munin::client
 
   # Set timezone and ntp config
   #
@@ -193,9 +194,6 @@ class nodo::vserver inherits nodo {
     }
   }
 
-  # Apply the munin configuration for this host
-  #Nodo::vserver::munin <| tag == $name |>
-
   # Define a vserver instance
   define instance($context, $ensure = 'running', $proxy = false, $puppetmaster = false, $gitd = false,
                   $munin = 'client', $icecast = false, $sound = false, $ticket = false) {
@@ -228,13 +226,6 @@ class nodo::vserver inherits nodo {
       require => Exec["vs_create_${name}"],
     }
 
-    # Create a munin virtual resource to be realized in the node
-    #@nodo::vserver::munin {
-    #  type => $munin,
-    #  id   => $id,
-    #  tag  => $name,
-    #}
-
     # Sound support
     if $sound {
       if !defined(File["/usr/local/sbin/create-sound-devices"]) {
@@ -416,7 +407,6 @@ class nodo::master {
   include database
   include gitosis
   include websites::admin
-  include munin::client
 
   case $main_master {
     '': { fail("You need to define if this is the main master! Please set \$main_master in host config") }