From 2071840d7bb41d53efec9f75dc7f6beb126fa8de Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 26 Sep 2024 22:28:37 +0100 Subject: [PATCH] Revert "Move AMS gateway to tabaluga" This reverts commit 3fcbca9021c2343f8b1bbb13d99e5338a0dc7db2. --- roles/equinix-ams.rb | 4 ++-- roles/ironbelly.rb | 6 ++++++ roles/tabaluga.rb | 8 +------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/roles/equinix-ams.rb b/roles/equinix-ams.rb index 4043e0dd7..d56d0540a 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.14", + :gateway => "10.0.48.10", :routes => { - "10.0.0.0/8" => { :via => "10.0.48.14" } + "10.0.0.0/8" => { :via => "10.0.48.10" } } } }, diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index b5c07e67d..95bfe9e39 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -2,6 +2,10 @@ name "ironbelly" description "Master role applied to ironbelly" default_attributes( + :dhcpd => { + :first_address => "10.0.63.1", + :last_address => "10.0.63.254" + }, :elasticsearch => { :cluster => { :routing => { @@ -76,7 +80,9 @@ default_attributes( run_list( "role[equinix-ams]", + "role[gateway]", "recipe[rsyncd]", + "recipe[dhcpd]", "recipe[imagery::za_ngi_aerial]", "recipe[imagery::us_imagery]" ) diff --git a/roles/tabaluga.rb b/roles/tabaluga.rb index df8d76ea7..d682df74a 100644 --- a/roles/tabaluga.rb +++ b/roles/tabaluga.rb @@ -2,10 +2,6 @@ name "tabaluga" description "Master role applied to tabaluga" default_attributes( - :dhcpd => { - :first_address => "10.0.63.1", - :last_address => "10.0.63.254" - }, :networking => { :interfaces => { :internal => { @@ -37,7 +33,5 @@ default_attributes( run_list( "role[equinix-ams]", - "role[hp-g9]", - "role[gateway]", - "recipe[dhcpd]" + "role[hp-g9]" ) -- 2.39.5