X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/231b87f7a40ca53113eb08978dbfe71b4b6a0f5f..9e3d6bc2332036591015cf6171a685536e26b3c1:/roles/grisu.rb diff --git a/roles/grisu.rb b/roles/grisu.rb index 4f944a03d..525e028d2 100644 --- a/roles/grisu.rb +++ b/roles/grisu.rb @@ -4,30 +4,55 @@ description "Master role applied to grisu" default_attributes( :networking => { :interfaces => { - :external_ipv4 => { - :interface => "em1", - :role => :external, - :family => :inet, - :address => "193.63.75.108", - :hwaddress => "d8:d3:85:5d:87:a0" + :internal => { + :interface => "bond0", + :role => :internal, + :inet => { + :address => "10.0.64.17" + }, + :bond => { + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6] + } }, - :external_ipv6 => { - :interface => "em1", + :external_he => { + :interface => "bond0.101", :role => :external, - :family => :inet6, - :address => "2001:630:12:500:dad3:85ff:fe5d:a780" + :source_route_table => 100, + :inet => { + :address => "184.104.226.113", + :prefix => "27", + :gateway => "184.104.226.97" + }, + :inet6 => { + :address => "2001:470:1:b3b::11", + :prefix => 64, + :gateway => "2001:470:1:b3b::1" + } }, - :internal_ipv4 => { - :interface => "em2", - :role => :internal, - :family => :inet, - :address => "146.179.159.168", - :hwaddress => "d8:d3:85:5d:87:a1" + :external => { + :interface => "bond0.203", + :role => :external, + :metric => 150, + :source_route_table => 150, + :inet => { + :address => "87.252.214.113", + :prefix => "27", + :gateway => "87.252.214.97" + }, + :inet6 => { + :address => "2001:4d78:fe03:1c::11", + :prefix => 64, + :gateway => "2001:4d78:fe03:1c::1" + } } } } ) run_list( - "role[ic]" + "role[equinix-dub]", + "role[overpass-query]" )