changeset 138:7c3833d96603 puppet-3.6

Override minimum UID for Dovecot/IMAP, as we use old "500+ is users" range
author IBBoard <dev@ibboard.co.uk>
date Sat, 17 Dec 2016 12:01:55 +0000
parents 4f9bc88a426a
children abaf384dc939
files modules/dovecot/manifests/init.pp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/dovecot/manifests/init.pp	Sat Dec 17 12:01:16 2016 +0000
+++ b/modules/dovecot/manifests/init.pp	Sat Dec 17 12:01:55 2016 +0000
@@ -21,7 +21,8 @@
 }',
 	}
 	file { '/etc/dovecot/conf.d/99-extra.conf':
-		content => 'mail_location = maildir:/var/mail/vhosts/%d/%n:INBOX=/var/mail/vhosts/%d/%n/Inbox'
+		content => 'mail_location = maildir:/var/mail/vhosts/%d/%n:INBOX=/var/mail/vhosts/%d/%n/Inbox
+first_valid_uid = 500'
 	}
 	file { '/etc/dovecot/conf.d/10-auth.conf':
 		content => "# Blanked by Puppet - we don't use the only setting from here (PAM authentication)",