summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-12-08 00:43:06 +0100
committermh <mh@immerda.ch>2009-12-08 00:43:06 +0100
commitdaf1f9e0e3870e5efdd6b41105cbcddc4bfe947a (patch)
treef874ca792e1ba3545799c47c4817c2e44c53f168
parent6838712b880aad2ad8b6428d90f9aa8fb3d8aabe (diff)
add munin plugin
-rw-r--r--manifests/init.pp4
-rw-r--r--manifests/munin.pp7
2 files changed, 11 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 1e20374..8eeeeb0 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -5,4 +5,8 @@
# we take rpms from fedora
class dovecot {
include dovecot::base
+
+ if $use_shorewall {
+ include shorewall::rules::pop3
+ }
}
diff --git a/manifests/munin.pp b/manifests/munin.pp
new file mode 100644
index 0000000..9d05de8
--- /dev/null
+++ b/manifests/munin.pp
@@ -0,0 +1,7 @@
+class dovecot::munin {
+ munin::plugin::deploy{'dovecot':
+ source => "dovecot/munin/dovecot",
+ config => "env.logfile /var/log/dovecot/infos.log
+group mail"
+ }
+}