]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Testing rrdcache configuration
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Mar 2014 01:34:47 +0000 (22:34 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Mar 2014 01:34:47 +0000 (22:34 -0300)
manifests/subsystem/monitor/master.pp

index ea3d6101483085d996cb839960eb58456080de0a..faddb5557f61d101e4a57a35907a83d954207e4c 100644 (file)
@@ -34,6 +34,13 @@ class nodo::subsystem::monitor::master {
     },
   }
 
+  # Munin configuration for rrdcache
+  file { "munin_rrdcache":
+      ensure  => $ensure,
+      path    => "/var/lib/puppet/modules/munin/nodes/00-rrdcache",
+      content => "rrdcached_socket /var/run/rrdcached.sock\n",
+  }
+
   if $main == true {
     service { 'rrdcached':
       ensure  => running,