summaryrefslogtreecommitdiff
path: root/manifests/host/cgi.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/host/cgi.pp')
-rw-r--r--manifests/host/cgi.pp9
1 files changed, 6 insertions, 3 deletions
diff --git a/manifests/host/cgi.pp b/manifests/host/cgi.pp
index 1c0072d..5b0ecbb 100644
--- a/manifests/host/cgi.pp
+++ b/manifests/host/cgi.pp
@@ -1,3 +1,4 @@
+# Set up a munin host using CGI rendering
class munin::host::cgi(
$owner = 'os_default'
) {
@@ -31,9 +32,11 @@ class munin::host::cgi(
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/site_munin/config/host/logrotate',
"puppet:///modules/munin/config/host/logrotate.${::operatingsystem}",
- "puppet:///modules/munin/config/host/logrotate" ],
- owner => root, group => 0, mode => 0644;
+ 'puppet:///modules/munin/config/host/logrotate' ],
+ owner => root,
+ group => 0,
+ mode => '0644',
}
}