]> git.openstreetmap.org Git - chef.git/blob - roles/dulcy.rb
civi version bump
[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         :interface => "bond0",
9         :role => :internal,
10         :inet => {
11           :address => "10.0.48.9"
12         },
13         :bond => {
14           :mode => "802.3ad",
15           :lacprate => "fast",
16           :xmithashpolicy => "layer3+4",
17           :slaves => %w[ens18f0 ens18f1]
18         }
19       },
20       :external_cogent => {
21         :interface => "bond0.2",
22         :role => :external,
23         :source_route_table => 100,
24         :inet => {
25           :address => "130.117.76.9",
26           :prefix => "27",
27           :gateway => "130.117.76.1"
28         },
29         :inet6 => {
30           :address => "2001:978:2:2c::172:9",
31           :prefix => "64",
32           :gateway => "2001:978:2:2c::172:1",
33           :routes => {
34             "2001:470:1:b3b::/64" => { :type => "unreachable" }
35           }
36         }
37       },
38       :external => {
39         :interface => "bond0.3",
40         :role => :external,
41         :metric => 150,
42         :source_route_table => 150,
43         :inet => {
44           :address => "184.104.179.137",
45           :prefix => "27",
46           :gateway => "184.104.179.129"
47         },
48         :inet6 => {
49           :address => "2001:470:1:fa1::9",
50           :prefix => "64",
51           :gateway => "2001:470:1:fa1::1"
52         }
53       }
54     }
55   },
56   :postgresql => {
57     :versions => ["14"],
58     :settings => {
59       :defaults => {
60         :work_mem => "240MB",
61         :fsync => "on",
62         :effective_io_concurrency => "500"
63       }
64     }
65   },
66   :nominatim => {
67     :state => "standalone",
68     :dbcluster => "14/main",
69     :postgis => "3",
70     :flatnode_file => "/ssd/nominatim/nodes.store",
71     :logdir => "/ssd/nominatim/log",
72     :config => {
73       :forward_dependencies => "yes"
74     }
75   }
76 )
77
78 run_list(
79   "role[equinix-ams]",
80   "role[nominatim]"
81 )