diff options
author | kwadronaut <kwadronaut@aktivix.org> | 2012-06-28 20:50:28 +0200 |
---|---|---|
committer | kwadronaut <kwadronaut@aktivix.org> | 2012-06-28 20:50:28 +0200 |
commit | 04e9748b3a967ddfa876cc1e8831cde0afd2a51a (patch) | |
tree | 732fdbd39570c2c0256f805f0080f13096a16a3e /manifests/host/cgi.pp | |
parent | 0161b29068725dfde73e7416c1d745b7fe31b423 (diff) |
Default munin htmldir in Debian moved some time ago to
/var/cache/munin/www This commit makes sure that you have it
set correctly
Diffstat (limited to 'manifests/host/cgi.pp')
-rw-r--r-- | manifests/host/cgi.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/host/cgi.pp b/manifests/host/cgi.pp index 13669ed..3156314 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/www/munin/* -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/www/munin/* -maxdepth 1 -type d -exec chmod -R g+w {} \;', refreshonly => true, subscribe => File['/etc/munin/munin.conf.header'], } |