X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dcef513a0de7f7ac7938d6a605b1bfaea432e8a3..2672b17a7b411fb2aa5ae1e9d8032acf85717f3b:/roles/crm.rb diff --git a/roles/crm.rb b/roles/crm.rb index b5675b0de..cbcd8628d 100644 --- a/roles/crm.rb +++ b/roles/crm.rb @@ -2,8 +2,13 @@ name "crm" description "Role applied to CRM server" default_attributes( + :accounts => { + :users => { + :stereo => { :status => :administrator } + } + }, :exim => { - :local_domains => ["join.osmfoundation.org"], + :local_domains => ["join.osmfoundation.org", "supporting.openstreetmap.org"], :routes => { :join_return => { :comment => "return@join.osmfoundation.org", @@ -20,6 +25,30 @@ default_attributes( :maildir => "/var/mail/crm-mail", :user => "www-data", :group => "mail" + }, + :supporting_return => { + :comment => "return@supporting.openstreetmap.org", + :domains => ["supporting.osmfoundation.org"], + :local_parts => ["return"], + :maildir => "/var/mail/crm-return", + :user => "www-data", + :group => "mail" + }, + :supporting_mail => { + :comment => "mail@supporting.openstreetmap.org", + :domains => ["supporting.openstreetmap.org"], + :local_parts => ["mail"], + :maildir => "/var/mail/crm-mail", + :user => "www-data", + :group => "mail" + } + }, + :trusted_users => ["www-data"] + }, + :mysql => { + :settings => { + :mysqld => { + :log_bin_trust_function_creators => 1 } } }