From da8f75f725d2c105419c351195231bac70a46e7c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 11 Jul 2013 11:14:12 +0100 Subject: [PATCH] Move network gateway role from horntail to ironbelly --- roles/horntail.rb | 16 +--------------- roles/ironbelly.rb | 16 +++++++++++++++- roles/ridley.rb | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/roles/horntail.rb b/roles/horntail.rb index 19003a53c..4b64c8155 100644 --- a/roles/horntail.rb +++ b/roles/horntail.rb @@ -65,18 +65,6 @@ default_attributes( } } }, - :openvpn => { - :address => "10.0.16.2", - :tunnels => { - :ic2ucl => { - :port => "1194", - :mode => "server", - :peer => { - :host => "ridley.openstreetmap.org" - } - } - } - }, :rsyncd => { :modules => { :hosts => { @@ -118,7 +106,6 @@ default_attributes( run_list( "role[ic]", - "role[gateway]", "role[chef-server]", "role[chef-repository]", "role[planet]", @@ -126,6 +113,5 @@ run_list( "role[web-storage]", "role[backup]", "role[supybot]", - "recipe[rsyncd]", - "recipe[openvpn]" + "recipe[rsyncd]" ) diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 252848d30..a3a94fc63 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -23,9 +23,23 @@ default_attributes( :address => "2001:630:12:500:225:90ff:fec4:f6ef" } } + }, + :openvpn => { + :address => "10.0.16.2", + :tunnels => { + :ic2ucl => { + :port => "1194", + :mode => "server", + :peer => { + :host => "ridley.openstreetmap.org" + } + } + } } ); run_list( - "role[ic]" + "role[ic]", + "role[gateway]", + "recipe[openvpn]" ) diff --git a/roles/ridley.rb b/roles/ridley.rb index c73baca1d..371d39f85 100644 --- a/roles/ridley.rb +++ b/roles/ridley.rb @@ -49,7 +49,7 @@ default_attributes( :port => "1194", :mode => "client", :peer => { - :host => "horntail.openstreetmap.org", + :host => "ironbelly.openstreetmap.org", :port => "1194" } }, -- 2.43.2