X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9c0f589d66c7b2d6b71364fd8669e89434d1f36e..f8a576aca1270f703f38c3257cf533390692de06:/roles/grisu.rb diff --git a/roles/grisu.rb b/roles/grisu.rb index 503a28199..17b0aaa55 100644 --- a/roles/grisu.rb +++ b/roles/grisu.rb @@ -2,41 +2,36 @@ name "grisu" description "Master role applied to grisu" default_attributes( - :accounts => { - :users => { - :yellowbkpk => { :status => :administrator } - } - }, :networking => { :interfaces => { - :external_ipv4 => { - :interface => "eth0", - :role => :external, - :family => :inet, - :address => "142.4.213.166", - :prefix => "24", - :gateway => "142.4.213.254" + :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 => "eth0", + :external => { + :interface => "bond0.101", :role => :external, - :family => :inet6, - :address => "2607:5300:60:12a6::1", - :prefix => "64", - :gateway => "2607:5300:60:12ff:ff:ff:ff:ff" + :inet => { + :address => "184.104.226.113" + }, + :inet6 => { + :address => "2001:470:1:b3b::11" + } } } - }, - :squid => { - :cache_mem => "9000 MB", - :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" - }, - :tilecache => { - :tile_parent => "orm.openstreetmap.org" } ) run_list( - "role[ovh-ca]", - "role[tilecache]" + "role[equinix-dub]", + "role[overpass-query]" )