summaryrefslogtreecommitdiff
path: root/manifests/client/debian.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/client/debian.pp
parentf79c556357cdd4e0a06596b32661e3f156e2fc4f (diff)
parent42488b04b47ec3fd87f1d45ec3fa90b588545ca1 (diff)
Merge pull request #12 from oxilion/linting
lintify
Diffstat (limited to 'manifests/client/debian.pp')
-rw-r--r--manifests/client/debian.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/client/debian.pp b/manifests/client/debian.pp
index e67ac26..3cfc3fc 100644
--- a/manifests/client/debian.pp
+++ b/manifests/client/debian.pp
@@ -1,15 +1,16 @@
+# Install the munin client on debian
class munin::client::debian inherits munin::client::package {
# the plugin will need that
- package { "iproute": ensure => installed }
+ package { 'iproute': ensure => installed }
- Service["munin-node"]{
+ Service['munin-node']{
# sarge's munin-node init script has no status
hasstatus => $::lsbdistcodename ? { sarge => false, default => true }
}
- File["/etc/munin/munin-node.conf"]{
+ File['/etc/munin/munin-node.conf']{
content => template("munin/munin-node.conf.${::operatingsystem}.${::lsbdistcodename}"),
}
# workaround bug in munin_node_configure
- plugin { "postfix_mailvolume": ensure => absent }
+ plugin { 'postfix_mailvolume': ensure => absent }
include munin::plugins::debian
}