]> git.openstreetmap.org Git - chef.git/blob - roles/stormfly-04.rb
Fix the TTMServer configuration for the wiki Translate extension
[chef.git] / roles / stormfly-04.rb
1 name "stormfly-04"
2 description "Master role applied to stormfly-04"
3
4 default_attributes(
5   :hardware => {
6     :shm_size => "38g"
7   },
8   :networking => {
9     :interfaces => {
10       :external => {
11         :inet => {
12           :address => "140.211.167.100"
13         },
14         :inet6 => {
15           :address => "2605:bc80:3010:700::8cd3:a764"
16         },
17         :bond => {
18           :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50]
19         }
20       }
21     }
22   },
23   :postgresql => {
24     :versions => ["17"],
25     :settings => {
26       :defaults => {
27         :work_mem => "300MB",
28         :fsync => "on",
29         :effective_io_concurrency => "100"
30       }
31     }
32   },
33   :nominatim => {
34     :dbcluster => "17/main",
35     :flatnode_file => "/srv/nominatim.openstreetmap.org/planet-project/nodes.store",
36     :api_workers => 19,
37     :api_pool_size => 7
38   }
39 )
40
41 run_list(
42   "role[osuosl]",
43   "role[hp-g9]",
44   "role[geodns]",
45   "role[nominatim]"
46 )