Defined Type: dovecot::plugin

Defined in:
manifests/plugin.pp

Overview

90-plugin.conf See README.md for usage

Parameters:

  • options (Hash[String, Optional[Variant[String,Integer]]]) (defaults to: {})
  • config_file (String) (defaults to: 'conf.d/90-plugin.conf')


3
4
5
6
7
8
9
10
11
12
13
# File 'manifests/plugin.pp', line 3

define dovecot::plugin (
  Hash[String, Optional[Variant[String,Integer]]] $options = {},
  String $config_file = 'conf.d/90-plugin.conf',
) {
  include ::dovecot

  dovecot::config::dovecotcfhash {"plugin ${name}":
    config_file => $config_file,
    options     => prefix($options, 'plugin/'),
  }
}