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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# File 'manifests/config.pp', line 2
class dovecot::config inherits dovecot {
if $dovecot::enable_auth == true {
contain ::dovecot::auth
}
if $dovecot::enable_logging == true {
contain ::dovecot::logging
}
if $dovecot::enable_mail == true {
contain ::dovecot::mail
}
if $dovecot::enable_master == true {
contain ::dovecot::master
}
if $dovecot::enable_lda == true {
contain ::dovecot::lda
}
if $dovecot::enable_imap == true {
contain ::dovecot::imap
}
if $dovecot::enable_pop3 == true {
contain ::dovecot::pop3
}
if $dovecot::enable_lmtp == true {
contain ::dovecot::lmtp
}
if $dovecot::enable_managesieved == true {
contain ::dovecot::managesieved
}
if $dovecot::enable_ssl == true {
contain ::dovecot::ssl
}
$dovecot::plugins.each |$name, $opts| {
dovecot::plugin {$name:
* => $opts,
}
}
$dovecot::files.each |$name, $opts| {
dovecot::config::file {$name:
* => $opts,
}
}
}
|