aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/monitor
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-25 15:52:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-25 15:52:20 -0300
commit54cb739c90f166c73ce58784afb57a5a520c509e (patch)
tree30483e3655ced3bb628a42f3694012572845cd9c /manifests/subsystem/monitor
parent12bccb5193b8e9aadd7951f5a218d80376c2ea54 (diff)
downloadpuppet-nodo-54cb739c90f166c73ce58784afb57a5a520c509e.tar.gz
puppet-nodo-54cb739c90f166c73ce58784afb57a5a520c509e.tar.bz2
Adding apache config for munin
Diffstat (limited to 'manifests/subsystem/monitor')
-rw-r--r--manifests/subsystem/monitor/master.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp
index e23f02d..1f97a36 100644
--- a/manifests/subsystem/monitor/master.pp
+++ b/manifests/subsystem/monitor/master.pp
@@ -13,6 +13,17 @@ class nodo::subsystem::monitor::master {
default => 'absent',
}
+ # Munin configuration for apache
+ file { '/etc/apache2/conf.d/munin':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ source => 'puppet:///modules/nodo/munin/apache.conf',
+ require => Package["apache"],
+ notify => Service["apache"],
+ }
+
# See http://www.jethrocarr.com/2012/05/26/munin-performance/
file { "munin_graph_performance":
ensure => $ensure,