cyrus: Added support for setting the cyrus admin users.
This commit is contained in:
parent
7aa8271781
commit
e8081b57fc
2 changed files with 7 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -53,7 +53,7 @@ lmtp_downcase_rcpt: yes
|
|||
|
||||
# Uncomment the following and add the space-separated users who
|
||||
# have admin rights for all services.
|
||||
#admins: cyrus
|
||||
admins: <%= cyrus_admins %>
|
||||
|
||||
# Space-separated list of users that have lmtp "admin" status (i.e. that
|
||||
# can deliver email through TCP/IP lmtp). If specified, this parameter
|
||||
|
|
Loading…
Add table
Reference in a new issue