]> git.openstreetmap.org Git - chef.git/blob - roles/crm.rb
Drop roles for thorn-02 and thorn-03
[chef.git] / roles / crm.rb
1 name "crm"
2 description "Role applied to CRM server"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :stereo => { :status => :administrator }
8     }
9   },
10   :exim => {
11     :local_domains => ["join.osmfoundation.org"],
12     :routes => {
13       :join_return => {
14         :comment => "return@join.osmfoundation.org",
15         :domains => ["join.osmfoundation.org"],
16         :local_parts => ["return"],
17         :maildir => "/var/mail/crm-return",
18         :user => "www-data",
19         :group => "mail"
20       },
21       :join_mail => {
22         :comment => "mail@join.osmfoundation.org",
23         :domains => ["join.osmfoundation.org"],
24         :local_parts => ["mail"],
25         :maildir => "/var/mail/crm-mail",
26         :user => "www-data",
27         :group => "mail"
28       }
29     },
30     :trusted_users => ["www-data"]
31   },
32   :mysql => {
33     :settings => {
34       :mysqld => {
35         :log_bin_trust_function_creators => 1
36       }
37     }
38   }
39 )
40
41 run_list(
42   "recipe[civicrm]"
43 )