Puppet Class: dovecot::auth

Inherits:
dovecot::params
Defined in:
manifests/auth.pp

Overview

Parameters:

  • user (Any) (defaults to: 'root')


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/auth.pp', line 1

class dovecot::auth(
                      $user = 'root',
                    ) inherits dovecot::params {

  concat::fragment{ '/etc/dovecot/dovecot.conf auth ini':
    target  => '/etc/dovecot/dovecot.conf',
    order   => '30',
    content => template("${module_name}/auth/auth.erb"),
  }

  concat::fragment{ '/etc/dovecot/dovecot.conf auth end':
    target  => '/etc/dovecot/dovecot.conf',
    order   => '39',
    content => "\n}\n",
  }
}