]> git.openstreetmap.org Git - chef.git/blob - roles/vhagar.rb
Merge interface families
[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         :interface => "bond0",
9         :role => :internal,
10         :inet => {
11           :address => "10.0.48.5"
12         },
13         :bond => {
14           :mode => "802.3ad",
15           :lacprate => "fast",
16           :xmithashpolicy => "layer3+4",
17           :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6]
18         }
19       },
20       :external => {
21         :interface => "bond0.2",
22         :role => :external,
23         :inet => {
24           :address => "130.117.76.5"
25         },
26         :inet6 => {
27           :address => "2001:978:2:2c::172:5"
28         }
29       }
30     }
31   },
32   :nominatim => {
33     :state => "standalone",
34     :flatnode_file => "/srv/nominatim.openstreetmap.org/planet-project/nodes.store",
35     :fpm_pools => {
36       "nominatim.openstreetmap.org" => {
37         :max_children => 200
38       }
39     }
40   }
41 )
42
43 run_list(
44   "role[equinix-ams]",
45   "role[nominatim]"
46 )