summaryrefslogtreecommitdiff
path: root/manifests/host/cgi.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-05 19:39:49 -0300
committermh <mh@immerda.ch>2012-06-05 19:39:49 -0300
commit9fd1de5acd9064a0d67ca9d2c13a829a3f628f39 (patch)
treeeea2a9e6b54b733b9a5d2bdfeca9679f1a27a86d /manifests/host/cgi.pp
parente710a3bfd1d24a9fa4fdb217609635fec616a6f7 (diff)
new style for 2.7
Diffstat (limited to 'manifests/host/cgi.pp')
-rw-r--r--manifests/host/cgi.pp26
1 files changed, 13 insertions, 13 deletions
diff --git a/manifests/host/cgi.pp b/manifests/host/cgi.pp
index 283a243..9980856 100644
--- a/manifests/host/cgi.pp
+++ b/manifests/host/cgi.pp
@@ -1,16 +1,16 @@
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 {} \;',
- refreshonly => true,
- subscribe => File['/etc/munin/munin.conf.header'],
- }
+ 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,
+ subscribe => File['/etc/munin/munin.conf.header'],
+ }
- file{'/etc/logrotate.d/munin':
- source => [ "puppet:///modules/site-munin/config/host/${::fqdn}/logrotate",
- "puppet:///modules/site-munin/config/host/logrotate.${::operatingsystem}",
- "puppet:///modules/site-munin/config/host/logrotate",
- "puppet:///modules/munin/config/host/logrotate.${::operatingsystem}",
- "puppet:///modules/munin/config/host/logrotate" ],
- owner => root, group => 0, mode => 0644;
- }
+ file{'/etc/logrotate.d/munin':
+ source => [ "puppet:///modules/site_munin/config/host/${::fqdn}/logrotate",
+ "puppet:///modules/site_munin/config/host/logrotate.${::operatingsystem}",
+ "puppet:///modules/site_munin/config/host/logrotate",
+ "puppet:///modules/munin/config/host/logrotate.${::operatingsystem}",
+ "puppet:///modules/munin/config/host/logrotate" ],
+ owner => root, group => 0, mode => 0644;
+ }
}