]> git.openstreetmap.org Git - chef.git/blob - roles/pummelzacken.rb
Drop roles for thorn-02 and thorn-03
[chef.git] / roles / pummelzacken.rb
1 name "pummelzacken"
2 description "Master role applied to pummelzacken"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :bond => {
8         :interface => "bond0",
9         :bond => {
10           :slaves => %w[eno1 enp5s0f0]
11         }
12       },
13       :internal_ipv4 => {
14         :interface => "bond0.2801",
15         :role => :internal,
16         :family => :inet,
17         :address => "10.0.0.20"
18       },
19       :external_ipv4 => {
20         :interface => "bond0.2800",
21         :role => :external,
22         :family => :inet,
23         :address => "193.60.236.18"
24       }
25     }
26   },
27   :postgresql => {
28     :versions => ["14"],
29     :settings => {
30       :defaults => {
31         :listen_addresses => "10.0.0.20",
32         :work_mem => "160MB",
33         :effective_io_concurrency => "256",
34         :fsync => "on"
35       }
36     }
37   },
38   :nominatim => {
39     :state => "standalone",
40     :dbcluster => "14/main",
41     :postgis => "3",
42     :enable_backup => true,
43     :flatnode_file => "/ssd/nominatim/nodes.store",
44     :tablespaces => {
45       "daux" => "/data/tablespaces/daux",
46       "iaux" => "/data/tablespaces/iaux"
47     }
48
49   }
50 )
51
52 run_list(
53   "role[ucl]",
54   "role[nominatim]"
55 )