2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'manifests/imap/config.pp', line 2
class dovecot::imap::config {
dovecot::config::dovecotcfhash {'imap':
config_file => 'conf.d/20-imap.conf',
options => merge( $dovecot::imap::options, prefix($dovecot::imap::protocol_options, "protocol[. = \"imap\"]/") ),
}
dovecot::master::service {'imap':
ensure => 'present',
options => $dovecot::imap::service_options,
}
dovecot::master::service {'imap-login':
ensure => 'present',
options => $dovecot::imap::login_options,
}
# Configure inet_listeners included in $inet_listeners
$dovecot::imap::inet_listeners.each |String $k, Hash $opt| {
dovecot::imap::inet_listener {$k:
* => $opt,
}
}
}
|