Puppet Class: dovecot

Inherits:
dovecot::params
Inherited by:
dovecot::config
dovecot::install
dovecot::service
Defined in:
manifests/init.pp

Overview

dovecot concat 00 - base 10 - passdb 20 - userdb 30 - auth 31 - auth - unixlistener 39 - end auth 40 - imap login

Parameters:

  • manage_package (Any) (defaults to: true)
  • package_ensure (Any) (defaults to: 'installed')
  • manage_service (Any) (defaults to: true)
  • manage_docker_service (Any) (defaults to: true)
  • service_ensure (Any) (defaults to: 'running')
  • service_enable (Any) (defaults to: true)
  • listen (Any) (defaults to: [ '*' ])
  • login_greeting (Any) (defaults to: 'ready to rock')
  • verbose_proctitle (Any) (defaults to: true)
  • shutdown_clients (Any) (defaults to: true)
  • protocols (Any) (defaults to: [ 'imap', 'lmtp' ])
  • disable_plaintext_auth (Any) (defaults to: false)
  • auth_mechanisms (Any) (defaults to: [ 'plain', 'login' ])
  • mail_access_groups (Any) (defaults to: 'postfix')
  • default_login_user (Any) (defaults to: 'postfix')
  • first_valid_uid (Any) (defaults to: $dovecot::params::postfix_username_uid_default)
  • first_valid_gid (Any) (defaults to: $dovecot::params::postfix_username_gid_default)
  • mail_location (Any) (defaults to: 'maildir:/var/vmail/%d/%n')
  • ssl (Any) (defaults to: false)
  • base_dir (Any) (defaults to: '/var/run/dovecot/')


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
# File 'manifests/init.pp', line 11

class dovecot(
                            $manage_package         = true,
                            $package_ensure         = 'installed',
                            $manage_service         = true,
                            $manage_docker_service  = true,
                            $service_ensure         = 'running',
                            $service_enable         = true,
                            $listen                 = [ '*' ],
                            $login_greeting         = 'ready to rock',
                            $verbose_proctitle      = true,
                            $shutdown_clients       = true,
                            $protocols              = [ 'imap', 'lmtp' ],
                            $disable_plaintext_auth = false,
                            $auth_mechanisms        = [ 'plain', 'login' ],
                            $mail_access_groups     = 'postfix',
                            $default_login_user     = 'postfix',
                            $first_valid_uid        = $dovecot::params::postfix_username_uid_default,
                            $first_valid_gid        = $dovecot::params::postfix_username_gid_default,
                            $mail_location          = 'maildir:/var/vmail/%d/%n',
                            $ssl                    = false,
                            $base_dir               = '/var/run/dovecot/',
                          ) inherits dovecot::params{

  validate_re($package_ensure, [ '^present$', '^installed$', '^absent$', '^purged$', '^held$', '^latest$' ], 'Not a supported package_ensure: present/absent/purged/held/latest')
  validate_array($listen)

  class { '::dovecot::install': } ->
  class { '::dovecot::config': } ~>
  class { '::dovecot::service': } ->
  Class['::dovecot']

}