]> git.openstreetmap.org Git - chef.git/blob - roles/spike-02.rb
Move Dublin hosts to use interface inheritance for network configuration
[chef.git] / roles / spike-02.rb
1 name "spike-02"
2 description "Master role applied to spike-02"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal => {
8         :inet => {
9           :address => "10.0.64.4"
10         },
11         :bond => {
12           :slaves => %w[eno1 eno2 eno3 eno4 eno49 eno50]
13         }
14       },
15       :henet => {
16         :inet => {
17           :address => "184.104.226.100"
18         },
19         :inet6 => {
20           :address => "2001:470:1:b3b::4"
21         }
22       },
23       :equinix => {
24         :inet => {
25           :address => "87.252.214.100"
26         },
27         :inet6 => {
28           :address => "2001:4d78:fe03:1c::4"
29         }
30       }
31     }
32   }
33 )
34
35 run_list(
36   "role[equinix-dub-public]",
37   "role[hp-g9]",
38   "role[web-frontend]"
39 )