summaryrefslogtreecommitdiff
path: root/manifests/host/cgi.pp
diff options
context:
space:
mode:
authorduritong <peter.meier+github@immerda.ch>2013-08-25 04:01:08 -0700
committerduritong <peter.meier+github@immerda.ch>2013-08-25 04:01:08 -0700
commit9a98e96366ed2986fcce2b9a6298580583ab62c7 (patch)
treeb2dd2f25149b0752486d7c28092c468a5926663e /manifests/host/cgi.pp
parentf79c556357cdd4e0a06596b32661e3f156e2fc4f (diff)
parent42488b04b47ec3fd87f1d45ec3fa90b588545ca1 (diff)
Merge pull request #12 from oxilion/linting
lintify
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',
}
}