blob: 542aa58db0beb19f81d63617bf198e2a48295c6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# we take rpms from fedora
class dovecot(
$sqlite = false,
$pgsql = false,
$mysql = false,
$munin_checks = true,
$manage_shorewall = true
){
case $operatingsystem {
centos: { include dovecot::centos }
default: { include dovecot::base }
}
if $dovecot::sqlite or $dovecot::pgsql or $dovecot::mysql {
include dovecot::sql
}
if $dovecot::manage_shorewall {
include shorewall::rules::pop3
include shorewall::rules::imap
}
if $dovecot::munin_checks {
include dovecot::munin
}
}
|