X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/df2bcc2c2977e17157108ddfc1c9704d38ea89fd..9e3d6bc2332036591015cf6171a685536e26b3c1:/roles/grisu.rb?ds=sidebyside diff --git a/roles/grisu.rb b/roles/grisu.rb index b260ff895..525e028d2 100644 --- a/roles/grisu.rb +++ b/roles/grisu.rb @@ -2,45 +2,57 @@ name "grisu" description "Master role applied to grisu" default_attributes( - :bind => { - :clients => "bytemark" - }, :networking => { :interfaces => { - :internal_ipv4 => { + :internal => { :interface => "bond0", :role => :internal, - :family => :inet, - :address => "10.0.32.20", + :inet => { + :address => "10.0.64.17" + }, :bond => { - :slaves => %w[enp2s0f0 enp2s0f1] + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6] } }, - :external_ipv4 => { - :interface => "bond0.214", + :external_he => { + :interface => "bond0.101", :role => :external, - :family => :inet, - :address => "89.16.162.20" + :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" + } }, - :external_ipv6 => { - :interface => "bond0.214", + :external => { + :interface => "bond0.203", :role => :external, - :family => :inet6, - :address => "2001:41c9:2:d6::20" + :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" + } } } - }, - :planet => { - :replication => "disabled" } ) run_list( - "role[bytemark]", - "role[hp-dl180-g6]", - "role[gateway]", - "role[web-storage]", - "role[backup]", - "role[planet]" - # "role[planetdump]" + "role[equinix-dub]", + "role[overpass-query]" )