From 637db5c2a02ab38df60e5c18dbb470db6c15c186 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 9 Aug 2010 17:34:43 -0400 Subject: have munin::host::cgi inherit munin::host. this prevents you from having to include both in the node definition for your munin host --- manifests/host/cgi.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/host/cgi.pp b/manifests/host/cgi.pp index aeb0cdf..3039de1 100644 --- a/manifests/host/cgi.pp +++ b/manifests/host/cgi.pp @@ -1,4 +1,4 @@ -class munin::host::cgi { +class munin::host::cgi inherits munin::host { exec{'set_modes_for_cgi': command => 'chgrp apache /var/log/munin /var/log/munin/munin-graph.log && chmod g+w /var/log/munin /var/log/munin/munin-graph.log && find /var/www/html/munin/* -maxdepth 1 -type d -exec chgrp -R apache {} \; && find /var/www/html/munin/* -maxdepth 1 -type d -exec chmod -R g+w {} \;', refreshonly => true, -- cgit v1.2.3