From 1d429bf94412228de056b4517ac4b1e6548b9bca Mon Sep 17 00:00:00 2001 From: kwadronaut Date: Wed, 18 Jul 2012 12:00:28 -0700 Subject: Fixing FSH issue for Debian and adding a note about the change from site-munin to site_munin --- README | 3 +++ manifests/host/cgi.pp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README b/README index 754f652..309d63d 100644 --- a/README +++ b/README @@ -102,3 +102,6 @@ To use this module, follow these directions: For CentOS this is enabled in the default header config j. Per default (on CentOS) munin will send warnings and critical messages to root + +== Notes for existing users == +The name of the helper module changed from site-munin to site_munin. See http://projects.puppetlabs.com/issues/4314 for more details on naming. diff --git a/manifests/host/cgi.pp b/manifests/host/cgi.pp index 3156314..8b35d8b 100644 --- a/manifests/host/cgi.pp +++ b/manifests/host/cgi.pp @@ -3,7 +3,7 @@ class munin::host::cgi inherits munin::host { case $operatingsystem { debian: { exec { 'set_modes_for_cgi': - command => 'chgrp www-data /var/log/munin /var/log/munin/munin-graph.log && chmod g+w /var/log/munin /var/log/munin/munin-graph.log && find /var/cache/munin/www/* -maxdepth 1 -type d -exec chgrp -R www-data {} \; && find /var/www/munin/* -maxdepth 1 -type d -exec chmod -R g+w {} \;', + command => 'chgrp www-data /var/log/munin /var/log/munin/munin-graph.log && chmod g+w /var/log/munin /var/log/munin/munin-graph.log && find /var/cache/munin/www/* -maxdepth 1 -type d -exec chgrp -R www-data {} \; && find /var/cache/munin/* -maxdepth 1 -type d -exec chmod -R g+w {} \;', refreshonly => true, subscribe => File['/etc/munin/munin.conf.header'], } -- cgit v1.2.3