]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Set dependencies for munin config
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Mar 2014 12:56:29 +0000 (09:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Mar 2014 12:56:29 +0000 (09:56 -0300)
manifests/subsystem/monitor/master.pp

index f46ed6abc214c8d3b6365e1dd10f0bb7784b181c..8263a2a460e0e9ae68d7b8f28293584d4d4e46c9 100644 (file)
@@ -18,6 +18,7 @@ class nodo::subsystem::monitor::master {
     ensure  => $ensure,
     path    => "/var/lib/puppet/modules/munin/nodes/00-performance",
     content => "max_graph_jobs 1\n max_cgi_graph_jobs 1\nfork no\n",
+    require => Concatenated_file['/etc/munin/munin.conf'],
   }
 
   #
@@ -47,6 +48,7 @@ class nodo::subsystem::monitor::master {
     ensure  => $ensure,
     path    => "/var/lib/puppet/modules/munin/nodes/00-rrdcache",
     content => "rrdcached_socket /var/run/rrdcached.sock\n",
+    require => Concatenated_file['/etc/munin/munin.conf'],
   }
 
   if $main == true {