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:
|
# $cyrus_cert:
|
||||||
# Path to SSL certificate. Defaults to puppet client certificate.
|
# 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 {
|
class cyrus {
|
||||||
|
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
|
@ -25,6 +27,10 @@ class cyrus {
|
||||||
$postfix_cert = "${puppet_ssldir}/certs/${homename}.pem"
|
$postfix_cert = "${puppet_ssldir}/certs/${homename}.pem"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !$cyrus_admins {
|
||||||
|
$cyrus_admins = "admin"
|
||||||
|
}
|
||||||
|
|
||||||
package { [
|
package { [
|
||||||
"cyrus-imapd-2.4",
|
"cyrus-imapd-2.4",
|
||||||
"cyrus-clients-2.4",
|
"cyrus-clients-2.4",
|
||||||
|
|
|
@ -53,7 +53,7 @@ lmtp_downcase_rcpt: yes
|
||||||
|
|
||||||
# Uncomment the following and add the space-separated users who
|
# Uncomment the following and add the space-separated users who
|
||||||
# have admin rights for all services.
|
# have admin rights for all services.
|
||||||
#admins: cyrus
|
admins: <%= cyrus_admins %>
|
||||||
|
|
||||||
# Space-separated list of users that have lmtp "admin" status (i.e. that
|
# Space-separated list of users that have lmtp "admin" status (i.e. that
|
||||||
# can deliver email through TCP/IP lmtp). If specified, this parameter
|
# can deliver email through TCP/IP lmtp). If specified, this parameter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue