Class dovecot::dovecot
In: /modules/dovecot/manifests/init.pp
Parent:

Class: dovecot

Install, enable and configure the Dovecot IMAP server. Options:

 $plugins:
   Array of plugin sub-packages to install. Default: empty

Resources

Resources

Dovecot::Plugin[$plugins]
   before => Package["dovecot"]

Install plugins (sub-packages)

File["/etc/dovecot/conf.d/10-auth.conf"]
   content => template("dovecot/conf.d/10-auth.conf.erb")

Configuration file snippets which we modify

File["/etc/dovecot/conf.d/10-logging.conf"]
   content => template("dovecot/conf.d/10-logging.conf.erb")
File["/etc/dovecot/conf.d/10-mail.conf"]
   content => template("dovecot/conf.d/10-mail.conf.erb")
File["/etc/dovecot/conf.d/10-master.conf"]
   content => template("dovecot/conf.d/10-master.conf.erb")
File["/etc/dovecot/conf.d/10-ssl.conf"]
   content => template("dovecot/conf.d/10-ssl.conf.erb")
File["/etc/dovecot/conf.d/15-lda.conf"]
   content => template("dovecot/conf.d/15-lda.conf.erb")
File["/etc/dovecot/conf.d/90-sieve.conf"]
   content => template("dovecot/conf.d/90-sieve.conf.erb")
File["/etc/dovecot/conf.d/auth-sql.conf.ext"]
   content => template("dovecot/conf.d/auth-sql.conf.ext.erb")
File["/etc/dovecot/dovecot.conf"]
   content => template("dovecot/dovecot.conf.erb")

Main configuration file

Package["dovecot"]
   ensure => installed

Main package and service it provides

Service["dovecot"]
   enable => true
   ensure => running
   hasstatus => true
   require => File["/etc/dovecot/dovecot.conf"]

[Validate]