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