This is the dovecot module. It provides installation and configuration routines using Puppet.
include dovecot
It will just install the dovecot-imapd package and ensure that dovecot is running.
include dovecot
class { dovecot::ssl:
ssl => 'yes',
ssl_keyfile => '/etc/ssl/private/example_privatekey.pem',
ssl_certfile => '/etc/ssl/certs/example_server.pem',
ssl_ca => '/etc/ssl/certs/CAcert_chain.pem'
}
include dovecot::sieve
class { dovecot::master:
postfix => yes
}
class { dovecot::postgres:
dbname => 'dbname',
dbpassword => 'dbpassword',
dbusername => 'dbuser',
}
include dovecot::mail
class { dovecot::lda:
postmaster_address => 'postmaster@example.org'
}
include dovecot::imap
include dovecot::base
include dovecot::auth
Something more fancy.