From 04a8aea0708afb576b70ac823abd5d6bad2372c6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 31 May 2024 16:53:14 +0100 Subject: [PATCH] Move Amsterdam site gateway to norbert --- roles/equinix-ams.rb | 4 ++-- roles/ironbelly.rb | 1 - roles/norbert.rb | 6 ++++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/roles/equinix-ams.rb b/roles/equinix-ams.rb index 7923e09d4..771586a8d 100644 --- a/roles/equinix-ams.rb +++ b/roles/equinix-ams.rb @@ -7,9 +7,9 @@ default_attributes( :internal => { :inet => { :prefix => "20", - :gateway => "10.0.48.10", + :gateway => "10.0.48.17", :routes => { - "10.0.0.0/8" => { :via => "10.0.48.10" } + "10.0.0.0/8" => { :via => "10.0.48.17" } } } }, diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 4d3c83a74..2730a8fb3 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -108,7 +108,6 @@ default_attributes( run_list( "role[equinix-ams]", - "role[gateway]", "recipe[rsyncd]", "recipe[dhcpd]", "recipe[imagery::za_ngi_aerial]" diff --git a/roles/norbert.rb b/roles/norbert.rb index 50b8566ea..7c31bb8f4 100644 --- a/roles/norbert.rb +++ b/roles/norbert.rb @@ -2,6 +2,10 @@ name "norbert" description "Master role applied to norbert" default_attributes( + :dhcpd => { + :first_address => "10.0.63.1", + :last_address => "10.0.63.254" + }, :networking => { :interfaces => { :internal => { @@ -36,9 +40,11 @@ default_attributes( run_list( "role[equinix-ams]", + "role[gateway]", "role[geodns]", "role[backup]", "role[planet]", "role[planetdump]", + "recipe[dhcpd]", "recipe[tilelog]" ) -- 2.39.5