X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..68bbe21da0b2f20cb1856fc68f8cbac9c637285d:/roles/nidhogg.rb diff --git a/roles/nidhogg.rb b/roles/nidhogg.rb index a59cfad38..1664f872c 100644 --- a/roles/nidhogg.rb +++ b/roles/nidhogg.rb @@ -4,35 +4,31 @@ description "Master role applied to nidhogg" default_attributes( :networking => { :interfaces => { - :internal_ipv4 => { + :external => { :interface => "bond0", :role => :external, - :family => :inet, - :address => "194.71.11.111", - :prefix => "25", - :gateway => "194.71.11.1", + :inet => { + :address => "194.71.11.111", + :prefix => "25", + :gateway => "194.71.11.1" + }, + :inet6 => { + :address => "2001:6b0:19:2::111", + :prefix => "64", + :gateway => "2001:6b0:19:2::1" + }, :bond => { :mode => "802.3ad", :lacprate => "fast", :xmithashpolicy => "layer3+4", - :slaves => %w[enp68s0f0 enp68s0f1 enp68s0f2 enp68s0f3] + :slaves => %w[enp68s0f0np0 enp68s0f1np1 enp68s0f2np2 enp68s0f3np3] } - }, - :external_ipv6 => { - :interface => "bond0", - :role => :external, - :family => :inet6, - :address => "2001:6b0:19:2::111", - :prefix => "64", - :gateway => "2001:6b0:19:2::1" } } }, :postgresql => { :settings => { :defaults => { - :shared_buffers => "8GB", - :maintenance_work_mem => "7144MB", :effective_cache_size => "16GB" } } @@ -48,7 +44,7 @@ default_attributes( }, :tile => { :database => { - :cluster => "14/main", + :cluster => "16/main", :postgis => "3" }, :mapnik => "3.1",