diff options
author | Marcel Haerry <haerry@puzzle.ch> | 2008-07-21 16:54:58 +0200 |
---|---|---|
committer | Marcel Haerry <haerry@puzzle.ch> | 2008-07-21 16:54:58 +0200 |
commit | 3c6cb0e28220543cfd91a3cc7c02623f05a0ebb8 (patch) | |
tree | 2bfe20593ca9bf868d5682702bd32e183388de02 /manifests | |
parent | 043ef96697c5fea8ba5b419aa4c6c19ec6348c65 (diff) |
group writing should be set recursive
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/host.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index f086aad..fdaa255 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -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/html/munin/* -maxdepth 1 -type d -exec chgrp -R apache {} \; && find /var/www/html/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 -R g+w {} \;', refreshonly => true, subscribe => File['/etc/munin/munin.conf.header'], } |