Mercurial > repos > other > Puppet
diff modules/dovecot/manifests/init.pp @ 329:f5ce1a5542ee
Fix localhost IMAP on IPv6 (used by Webmail)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 08 Mar 2020 11:14:58 +0000 |
parents | 490d7ec20172 |
children | a4867ea13d84 |
line wrap: on
line diff
--- a/modules/dovecot/manifests/init.pp Sat Mar 07 15:40:25 2020 +0000 +++ b/modules/dovecot/manifests/init.pp Sun Mar 08 11:14:58 2020 +0000 @@ -13,7 +13,13 @@ require => Package['dovecot'], } file { '/etc/dovecot/conf.d/99-imap-only.conf': - content => template('dovecot/99-imap-only.conf.erb'), + content => epp('dovecot/99-imap-only.conf.epp', + { + imapserver_ip => $imapserver_ip, + imapserver_proxy => $imapserver_proxy, + proxy_upstream => $proxy_upstream + } + ), } file { '/etc/dovecot/conf.d/99-extra.conf': content => 'mail_location = maildir:/var/mail/vhosts/%d/%n:INBOX=/var/mail/vhosts/%d/%n/Inbox