X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4c35cca55478f6c0f76b2620a8beb22e18fb2278..df9094f9aca14fa8b8318618964ea216cb2acb91:/roles/crm.rb?ds=inline diff --git a/roles/crm.rb b/roles/crm.rb index 35776f050..28f20e14a 100644 --- a/roles/crm.rb +++ b/roles/crm.rb @@ -1,18 +1,36 @@ name "crm" description "Role applied to CRM server" - default_attributes( :exim => { - :local_domains => [ "crm.osmfoundation.org" ], + :local_domains => ["join.osmfoundation.org"], :routes => { - :crm => { - :comment => "crm.osmfoundation.org", - :domains => [ "crm.osmfoundation.org" ], - :maildir => "/var/mail/crm", - :user => "wordpress", + :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" } + }, + :trusted_users => ["www-data"] + }, + :mysql => { + :settings => { + :mysqld => { + :innodb_strict_mode => true, + :innodb_file_per_table => true, + :innodb_file_format => "Barracuda" + } } } )