]> git.openstreetmap.org Git - chef.git/blob - roles/crm.rb
Enable netplan for American tile caches
[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         :innodb_strict_mode => true,
36         :innodb_file_per_table => true,
37         :innodb_file_format => "Barracuda"
38       }
39     }
40   }
41 )
42
43 run_list(
44   "recipe[civicrm]"
45 )