]> git.openstreetmap.org Git - chef.git/blob - roles/thorn-02.rb
Switch uplink monitoring to Juniper switch in Amsterdam
[chef.git] / roles / thorn-02.rb
1 name "thorn-02"
2 description "Master role applied to thorn-02"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :internal_ipv4 => {
8         :interface => "bond0",
9         :role => :internal,
10         :family => :inet,
11         :address => "10.0.48.52",
12         :bond => {
13           :mode => "802.3ad",
14           :lacprate => "fast",
15           :xmithashpolicy => "layer3+4",
16           :slaves => %w[eth0 eth1]
17         }
18       }
19     }
20   }
21 )
22
23 run_list(
24   "role[equinix-ams]"
25 )