Puppet Class: dovecot::pop3::config

Defined in:
manifests/pop3/config.pp

Overview



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/pop3/config.pp', line 2

class dovecot::pop3::config {
  dovecot::config::dovecotcfhash {'pop3':
    config_file => 'conf.d/20-pop3.conf',
    options     => merge( $dovecot::pop3::options, prefix($dovecot::pop3::protocol_options, "protocol[. = \"pop3\"]/") ),
  }

  dovecot::master::service {'pop3':
    ensure  => 'present',
    options => $dovecot::pop3::service_options,
  }

  dovecot::master::service {'pop3-login':
    ensure  => 'present',
    options => $dovecot::pop3::login_options,
  }

  # Configure inet_listeners included in $inet_listeners
  $dovecot::pop3::inet_listeners.each |String $k, Hash $opt| {
    dovecot::pop3::inet_listener {$k:
      * => $opt,
    }
  }
}