]> git.openstreetmap.org Git - chef.git/blob - roles/longma.rb
Move Dublin hosts to use interface inheritance for network configuration
[chef.git] / roles / longma.rb
1 name "longma"
2 description "Master role applied to longma"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal => {
8         :inet => {
9           :address => "10.0.64.13"
10         },
11         :bond => {
12           :slaves => %w[enp68s0f0np0 enp68s0f1np1 enp68s0f2np2 enp68s0f3np3]
13         }
14       },
15       :henet => {
16         :inet => {
17           :address => "184.104.226.109"
18         },
19         :inet6 => {
20           :address => "2001:470:1:b3b::d"
21         }
22       },
23       :equinix => {
24         :inet => {
25           :address => "87.252.214.109"
26         },
27         :inet6 => {
28           :address => "2001:4d78:fe03:1c::d"
29         }
30       }
31     }
32   },
33   :postgresql => {
34     :versions => ["17"],
35     :settings => {
36       :defaults => {
37         :max_connections => "550",
38         :work_mem => "240MB",
39         :effective_io_concurrency => "500"
40       }
41     }
42   },
43   :nominatim => {
44     :dbcluster => "17/main",
45     :enable_qa_tiles => true,
46     :flatnode_file => "/srv/nominatim.openstreetmap.org/planet-project/nodes.store",
47     :api_workers => 24,
48     :api_pool_size => 10
49   }
50 )
51
52 run_list(
53   "role[equinix-dub-public]",
54   "role[nominatim]"
55 )