]> git.openstreetmap.org Git - chef.git/blob - roles/pummelzacken.rb
Remove nominatim role from pummelzacken for now
[chef.git] / roles / pummelzacken.rb
1 name "pummelzacken"
2 description "Master role applied to pummelzacken"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal_ipv4 => {
8         :interface => "em1",
9         :role => :internal,
10         :family => :inet,
11         :address => "10.0.0.20"
12       }
13     }
14   },
15   :postgresql => {
16     :settings => {
17       :defaults => {
18         :shared_buffers => "24GB",
19         :work_mem => "160MB",
20         :maintenance_work_mem => "10GB",
21         :random_page_cost => "1.5",
22         :effective_cache_size => "48GB"
23       }
24     }
25   },
26   :nominatim => {
27     :fpm_pools => {
28         :www => {
29             :pm => "dynamic",
30             :max_children => "70"
31         },
32         :bulk => {
33             :pm => "static",
34             :max_children => "10"
35         }
36     }
37   }
38 )
39
40 run_list(
41   "role[ucl-internal]"
42 )