X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/938bd0ba7ccc932a35b0987d95a48b01ed2e7180..e6efb80e3363ef7ee084f6aee004a0b7dbb7a0e4:/roles/crm.rb diff --git a/roles/crm.rb b/roles/crm.rb index 28f20e14a..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,22 @@ 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"] @@ -27,9 +48,7 @@ default_attributes( :mysql => { :settings => { :mysqld => { - :innodb_strict_mode => true, - :innodb_file_per_table => true, - :innodb_file_format => "Barracuda" + :log_bin_trust_function_creators => 1 } } }