Puppet Class: dovecot::master

Defined in:
manifests/master.pp

Overview

10-master.conf See README.md for usage

Parameters:

  • options (Hash[String, Optional[String]])
  • services (Hash[String, Hash])


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/master.pp', line 3

class dovecot::master (
  Hash[String, Optional[String]] $options,
  Hash[String, Hash] $services,
) {
  include ::dovecot

  dovecot::config::dovecotcfhash {'master':
    config_file => 'conf.d/10-master.conf',
    options     => $options,
  }

  # Configure services included in $services
  $services.each |String $s, Optional[Hash] $v| {
    dovecot::master::service {$s:
      * => $v,
    }
  }
}