From 54cb739c90f166c73ce58784afb57a5a520c509e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 25 Mar 2014 15:52:20 -0300 Subject: Adding apache config for munin --- manifests/subsystem/monitor/master.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'manifests/subsystem/monitor/master.pp') 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, -- cgit v1.2.3