]> git.openstreetmap.org Git - chef.git/blob - roles/dulcy.rb
Rework network configuration in Amsterdam to avoid duplication
[chef.git] / roles / dulcy.rb
1 name "dulcy"
2 description "Master role applied to dulcy"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal => {
8         :inet => {
9           :address => "10.0.48.9"
10         },
11         :bond => {
12           :slaves => %w[enp1s0f0 enp1s0f1]
13         }
14       },
15       :henet => {
16         :inet => {
17           :address => "184.104.179.137"
18         },
19         :inet6 => {
20           :address => "2001:470:1:fa1::9"
21         }
22       },
23       :equinix => {
24         :inet => {
25           :address => "82.199.86.105"
26         },
27         :inet6 => {
28           :address => "2001:4d78:500:5e3::9"
29         }
30       }
31     }
32   },
33   :postgresql => {
34     :versions => ["17"],
35     :settings => {
36       :defaults => {
37         :work_mem => "240MB",
38         :effective_io_concurrency => "500"
39       }
40     }
41   },
42   :nominatim => {
43     :dbcluster => "17/main",
44     :flatnode_file => "/srv/nominatim.openstreetmap.org/planet-project/nodes.store",
45     :enable_qa_tiles => false,
46     :api_workers => 14,
47     :api_pool_size => 10
48   }
49 )
50
51 run_list(
52   "role[equinix-ams]",
53   "role[nominatim]"
54 )