summaryrefslogtreecommitdiff
path: root/manifests/host.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.pp
parentf79c556357cdd4e0a06596b32661e3f156e2fc4f (diff)
parent42488b04b47ec3fd87f1d45ec3fa90b588545ca1 (diff)
Merge pull request #12 from oxilion/linting
lintify
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp18
1 files changed, 11 insertions, 7 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index 007c43a..e666c3d 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -7,7 +7,7 @@ class munin::host(
$cgi_owner = 'os_default',
$export_tag = 'munin'
) {
- package {"munin": ensure => installed, }
+ package {'munin': ensure => installed, }
include concat::setup
Concat::Fragment <<| tag == $export_tag |>>
@@ -17,15 +17,17 @@ class munin::host(
source => [ "puppet:///modules/site_munin/config/host/${::fqdn}/munin.conf.header",
"puppet:///modules/site_munin/config/host/munin.conf.header.${::operatingsystem}.${::lsbdistcodename}",
"puppet:///modules/site_munin/config/host/munin.conf.header.${::operatingsystem}",
- "puppet:///modules/site_munin/config/host/munin.conf.header",
+ 'puppet:///modules/site_munin/config/host/munin.conf.header',
"puppet:///modules/munin/config/host/munin.conf.header.${::operatingsystem}.${::lsbdistcodename}",
"puppet:///modules/munin/config/host/munin.conf.header.${::operatingsystem}",
- "puppet:///modules/munin/config/host/munin.conf.header" ],
- order => 05,
+ 'puppet:///modules/munin/config/host/munin.conf.header' ],
+ order => 05,
}
- concat{ "/etc/munin/munin.conf":
- owner => root, group => 0, mode => 0644;
+ concat{ '/etc/munin/munin.conf':
+ owner => root,
+ group => 0,
+ mode => '0644',
}
include munin::plugins::muninhost
@@ -39,7 +41,9 @@ class munin::host(
# from time to time we cleanup hanging munin-runs
file{'/etc/cron.d/munin_kill':
content => "4,34 * * * * root if $(ps ax | grep -v grep | grep -q munin-run); then killall munin-run; fi\n",
- owner => root, group => 0, mode => 0644;
+ owner => root,
+ group => 0,
+ mode => '0644',
}
if $munin::host::manage_shorewall {
include shorewall::rules::out::munin