]> git.openstreetmap.org Git - chef.git/blob - roles/crm.rb
imagery: remove unicode
[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       :jon => { :status => :user }
9     }
10   },
11   :exim => {
12     :local_domains => ["join.osmfoundation.org", "supporting.openstreetmap.org"],
13     :routes => {
14       :join_return => {
15         :comment => "return@join.osmfoundation.org",
16         :domains => ["join.osmfoundation.org"],
17         :local_parts => ["return"],
18         :maildir => "/var/mail/crm-return",
19         :user => "www-data",
20         :group => "mail"
21       },
22       :join_mail => {
23         :comment => "mail@join.osmfoundation.org",
24         :domains => ["join.osmfoundation.org"],
25         :local_parts => ["mail"],
26         :maildir => "/var/mail/crm-mail",
27         :user => "www-data",
28         :group => "mail"
29       },
30       :supporting_return => {
31         :comment => "return@supporting.openstreetmap.org",
32         :domains => ["supporting.osmfoundation.org"],
33         :local_parts => ["return"],
34         :maildir => "/var/mail/crm-return",
35         :user => "www-data",
36         :group => "mail"
37       },
38       :supporting_mail => {
39         :comment => "mail@supporting.openstreetmap.org",
40         :domains => ["supporting.openstreetmap.org"],
41         :local_parts => ["mail"],
42         :maildir => "/var/mail/crm-mail",
43         :user => "www-data",
44         :group => "mail"
45       }
46     },
47     :trusted_users => ["www-data"]
48   },
49   :mysql => {
50     :settings => {
51       :mysqld => {
52         :log_bin_trust_function_creators => 1
53       }
54     }
55   }
56 )
57
58 run_list(
59   "recipe[civicrm]"
60 )