]> git.openstreetmap.org Git - chef.git/blob - roles/vhagar.rb
foundation: use default mediawiki version
[chef.git] / roles / vhagar.rb
1 name "vhagar"
2 description "Master role applied to vhagar"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal => {
8         :inet => {
9           :address => "10.0.48.5"
10         },
11         :bond => {
12           :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6]
13         }
14       },
15       :henet => {
16         :inet => {
17           :address => "184.104.179.133"
18         },
19         :inet6 => {
20           :address => "2001:470:1:fa1::5"
21         }
22       },
23       :equinix => {
24         :inet => {
25           :address => "82.199.86.101"
26         },
27         :inet6 => {
28           :address => "2001:4d78:500:5e3::5"
29         }
30       }
31     }
32   },
33   :postgresql => {
34     :versions => ["18"]
35   },
36   :nominatim => {
37     :dbcluster => "18/main",
38     :flatnode_file => "/srv/nominatim.openstreetmap.org/planet-project/nodes.store",
39     :api_flavour => "python",
40     :api_workers => {
41       "nominatim" => 22
42     },
43     :api_pool_size => 8
44   }
45 )
46
47 run_list(
48   "role[equinix-ams-public]",
49   "role[nominatim]"
50 )