diff options
author | kwadronaut <kwadronaut@aktivix.org> | 2012-07-18 12:00:28 -0700 |
---|---|---|
committer | kwadronaut <kwadronaut@aktivix.org> | 2012-07-18 12:00:28 -0700 |
commit | 1d429bf94412228de056b4517ac4b1e6548b9bca (patch) | |
tree | 0474ae0eaf88945955fcbe87f5667cfabd041d0b | |
parent | 04e9748b3a967ddfa876cc1e8831cde0afd2a51a (diff) |
Fixing FSH issue for Debian and adding a note about the change from site-munin to site_munin
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | manifests/host/cgi.pp | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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'], } |