]> git.openstreetmap.org Git - chef.git/blob - roles/dribble.rb
Make bond configuration more robust
[chef.git] / roles / dribble.rb
1 name "dribble"
2 description "Master role applied to dribble"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal => {
8         :inet => {
9           :address => "10.0.48.4"
10         },
11         :bond => {
12           :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6]
13         }
14       },
15       :henet => {
16         :inet => {
17           :address => "184.104.179.132"
18         },
19         :inet6 => {
20           :address => "2001:470:1:fa1::4"
21         }
22       },
23       :equinix => {
24         :inet => {
25           :address => "82.199.86.100"
26         },
27         :inet6 => {
28           :address => "2001:4d78:500:5e3::4"
29         }
30       }
31     }
32   },
33   :postgresql => {
34     :settings => {
35       :defaults => {
36         :effective_cache_size => "350GB"
37       }
38     }
39   }
40 )
41
42 run_list(
43   "role[equinix-ams-public]",
44   "role[vectortile]"
45 )