]> git.openstreetmap.org Git - chef.git/blob - roles/crm-staging.rb
Add clone civicrm-staging cookbook
[chef.git] / roles / crm-staging.rb
1 name "crm-staging"
2 description "Role applied to CRM staging server"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :stereo => { :status => :administrator }
8     }
9   },
10   :exim => {
11     :smarthost_name => "no-such-domain.openstreetmap.org",
12     # :local_domains => ["join.osmfoundation.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     # },
31     :trusted_users => ["www-data"]
32   },
33   :mysql => {
34     :settings => {
35       :mysqld => {
36         :log_bin_trust_function_creators => 1
37       }
38     }
39   }
40 )
41
42 run_list(
43   "recipe[civicrm-staging]"
44 )