diff options
author | duritong <peter.meier+github@immerda.ch> | 2013-03-25 10:13:01 -0700 |
---|---|---|
committer | duritong <peter.meier+github@immerda.ch> | 2013-03-25 10:13:01 -0700 |
commit | fe39acf930f0e5ff34bb00d6439ba42f895ba2f1 (patch) | |
tree | 6a1977c26d6e5cc9e5000e423646de582bb61efb /manifests | |
parent | e822d6140b1ffea7d85546062376a7e464a3cb61 (diff) | |
parent | 8a956cc2f1ad97d06e9a267312e55260ecb29eac (diff) |
Merge pull request #9 from oxilion/fix_cgi
Fix cgi
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/host/cgi.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/host/cgi.pp b/manifests/host/cgi.pp index 9980856..a19c432 100644 --- a/manifests/host/cgi.pp +++ b/manifests/host/cgi.pp @@ -1,8 +1,9 @@ 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 -R 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'], + subscribe => Concat::Fragment['munin.conf.header'], } file{'/etc/logrotate.d/munin': |