diff options
author | Micah Anderson <micah@riseup.net> | 2010-08-09 17:34:43 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-08-09 17:35:39 -0400 |
commit | 637db5c2a02ab38df60e5c18dbb470db6c15c186 (patch) | |
tree | 75cdf886c9ce864506942990b3cf31dbe83bc145 /manifests | |
parent | 022e824d8a006f1ef4e742b6af5176daecda1cd0 (diff) |
have munin::host::cgi inherit munin::host.
this prevents you from having to include both in the node definition for your munin host
Diffstat (limited to 'manifests')
-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 aeb0cdf..3039de1 100644 --- a/manifests/host/cgi.pp +++ b/manifests/host/cgi.pp @@ -1,4 +1,4 @@ -class munin::host::cgi { +class munin::host::cgi inherits munin::host { 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 {} \;', refreshonly => true, |