X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..e693cad1797b863b72437a1f06850e9c98b45ba1:/roles/crm.rb diff --git a/roles/crm.rb b/roles/crm.rb index 5dfa89aaa..372c05c57 100644 --- a/roles/crm.rb +++ b/roles/crm.rb @@ -4,11 +4,12 @@ description "Role applied to CRM server" default_attributes( :accounts => { :users => { - :stereo => { :status => :administrator } + :stereo => { :status => :administrator }, + :jon => { :status => :user } } }, :exim => { - :local_domains => ["join.osmfoundation.org"], + :local_domains => ["join.osmfoundation.org", "supporting.openstreetmap.org"], :routes => { :join_return => { :comment => "return@join.osmfoundation.org", @@ -25,9 +26,32 @@ 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 + } + } } )