X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..97aac1724da5fd406b0be6c892f43a94e846e9b8:/roles/crm.rb diff --git a/roles/crm.rb b/roles/crm.rb index ec4715232..cbcd8628d 100644 --- a/roles/crm.rb +++ b/roles/crm.rb @@ -2,25 +2,54 @@ name "crm" description "Role applied to CRM server" default_attributes( + :accounts => { + :users => { + :stereo => { :status => :administrator } + } + }, :exim => { - :local_domains => ["crm.osmfoundation.org"], + :local_domains => ["join.osmfoundation.org", "supporting.openstreetmap.org"], :routes => { - :crm_return => { - :comment => "return@crm.osmfoundation.org", - :domains => ["crm.osmfoundation.org"], + :join_return => { + :comment => "return@join.osmfoundation.org", + :domains => ["join.osmfoundation.org"], + :local_parts => ["return"], + :maildir => "/var/mail/crm-return", + :user => "www-data", + :group => "mail" + }, + :join_mail => { + :comment => "mail@join.osmfoundation.org", + :domains => ["join.osmfoundation.org"], + :local_parts => ["mail"], + :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" }, - :crm_mail => { - :comment => "mail@crm.osmfoundation.org", - :domains => ["crm.osmfoundation.org"], + :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 + } } } )