aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-11 09:56:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-11 09:56:29 -0300
commita8ca37c1f4699fcf183dde41e4f6399c5fd7c20e (patch)
treed594991dccc6dc7917bcbb973ecbb25e01b3d003 /manifests
parent16733bfbd6ec3c1aeccc7e629aab2525147106d9 (diff)
downloadpuppet-nodo-a8ca37c1f4699fcf183dde41e4f6399c5fd7c20e.tar.gz
puppet-nodo-a8ca37c1f4699fcf183dde41e4f6399c5fd7c20e.tar.bz2
Set dependencies for munin config
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystem/monitor/master.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp
index f46ed6a..8263a2a 100644
--- a/manifests/subsystem/monitor/master.pp
+++ b/manifests/subsystem/monitor/master.pp
@@ -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 {