- create profiles::dovecot::backend class for IMAPS server configuration - add virtual mailbox support to profiles::postfix::gateway with enable_dovecot parameter - restructure common hieradata elements into mail.yaml - add virtual mailbox and alias map templates with ERB generation - add comprehensive type validation using Stdlib::Email, Stdlib::Fqdn, Stdlib::IP types - configure vmail user (UID/GID 5000) with shared storage on /shared/apps/maildata - update roles::infra::mail::backend to include both dovecot and postfix profiles
13 lines
337 B
Puppet
13 lines
337 B
Puppet
# a role to deploy a imap/pop3 backend for mail services
|
|
class roles::infra::mail::backend {
|
|
if $facts['firstrun'] {
|
|
include profiles::defaults
|
|
include profiles::firstrun::init
|
|
}else{
|
|
include profiles::defaults
|
|
include profiles::base
|
|
include profiles::dovecot::server
|
|
include profiles::postfix::gateway
|
|
}
|
|
}
|