]> git.openstreetmap.org Git - chef.git/blob - roles/foundation.rb
Version bump cividiscount
[chef.git] / roles / foundation.rb
1 name "foundation"
2 description "Role applied to all OSMF servers"
3
4 default_attributes(
5   :apt => {
6     :sources => ["passenger"]
7   },
8   :elasticsearch => {
9     :version => "5.x",
10     :cluster => {
11       :name => "foundation"
12     }
13   },
14   :memcached => {
15     :memory_limit => 400,
16     :chunk_growth_factor => 1.05,
17     :min_item_size => 5
18   },
19   :mysql => {
20     :settings => {
21       :mysqld => {
22         :innodb_buffer_pool_size => "512M",
23         :key_buffer_size => "64M",
24         :max_connections => "200",
25         :query_cache_size => "48M",
26         :query_cache_type => "1",
27         :sort_buffer_size => "8M",
28         :tmp_table_size => "48M"
29       }
30     }
31   }
32 )
33
34 run_list(
35   "role[crm]",
36   "role[elasticsearch]",
37   "recipe[foundation::wiki]",
38   "recipe[foundation::board]",
39   "recipe[foundation::dwg]",
40   "recipe[foundation::mwg]",
41   "recipe[foundation::owg]"
42 )