summaryrefslogtreecommitdiff
path: root/manifests/client/debian.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-01-20 18:40:04 +0000
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-01-20 18:40:04 +0000
commit23201220bf8b7b63da44747be142face0c98eb09 (patch)
treec1645f62976281a552963b1309307e0d0b6136f3 /manifests/client/debian.pp
parent7e03247a9e219fe8e57d544957eb06e305e69fc1 (diff)
parenteaa092eb1a8f3ae19551e6e80f84d174211b5208 (diff)
Merge branch 'merge_immerda' into 'master'
This is my attempt at merging the huge backlog of commits from immerda. I've been pretty verbose about it in redmine so I won't repeat it all here. For details, see: https://labs.riseup.net/code/issues/4132
Diffstat (limited to 'manifests/client/debian.pp')
-rw-r--r--manifests/client/debian.pp14
1 files changed, 4 insertions, 10 deletions
diff --git a/manifests/client/debian.pp b/manifests/client/debian.pp
index e67ac26..49ee567 100644
--- a/manifests/client/debian.pp
+++ b/manifests/client/debian.pp
@@ -1,15 +1,9 @@
-class munin::client::debian inherits munin::client::package {
+# Install the munin client on debian
+class munin::client::debian inherits munin::client::base {
# the plugin will need that
- package { "iproute": ensure => installed }
+ ensure_packages(['iproute'])
- Service["munin-node"]{
- # sarge's munin-node init script has no status
- hasstatus => $::lsbdistcodename ? { sarge => false, default => true }
- }
- 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
}