X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/368b16382fa5378336e88b511baa35d522ff1bfa..95febc9a1032b5ec5c26a56fe39d835638950bf4:/roles/crm.rb?ds=sidebyside diff --git a/roles/crm.rb b/roles/crm.rb index 032bc40a3..e4e7deb1b 100644 --- a/roles/crm.rb +++ b/roles/crm.rb @@ -1,27 +1,39 @@ 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"], :routes => { - :crm_return => { - :comment => "return@crm.osmfoundation.org", - :domains => [ "crm.osmfoundation.org" ], - :local_parts => [ "return" ], + :join_return => { + :comment => "return@join.osmfoundation.org", + :domains => ["join.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" ], - :local_parts => [ "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 => { + :log_bin_trust_function_creators => 1 + } } } )