cyrus: Added support for setting the cyrus admin users.

This commit is contained in:
Lari Huttunen 2013-03-01 19:03:57 +01:00
parent 7aa8271781
commit e8081b57fc
2 changed files with 7 additions and 1 deletions

View file

@ -6,6 +6,8 @@
# $cyrus_cert:
# Path to SSL certificate. Defaults to puppet client certificate.
#
# $cyrus_admins:
# List of users "user1 user2", which have admin rights on the IMAP server.
class cyrus {
case $::operatingsystem {
@ -25,6 +27,10 @@ class cyrus {
$postfix_cert = "${puppet_ssldir}/certs/${homename}.pem"
}
if !$cyrus_admins {
$cyrus_admins = "admin"
}
package { [
"cyrus-imapd-2.4",
"cyrus-clients-2.4",