fixing locations for centos
authorMarcel Haerry <haerry@puzzle.ch>
Mon, 21 Jul 2008 09:14:00 +0000 (11:14 +0200)
committerMarcel Haerry <haerry@puzzle.ch>
Mon, 21 Jul 2008 09:14:00 +0000 (11:14 +0200)
manifests/host.pp

index aeaf10f..f086aad 100644 (file)
@@ -38,7 +38,7 @@ class munin::host
 
 class munin::host::cgi {
     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/munin/* -maxdepth 1 -type d -exec chgrp -R apache {} \; && find /var/www/munin/* -maxdepth 1 -type d -exec chmod g+w {} \;',
+        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 g+w {} \;',
         refreshonly => true,
         subscribe => File['/etc/munin/munin.conf.header'],
     }