From: Tom Hughes Date: Mon, 24 Oct 2016 13:07:04 +0000 (+0100) Subject: Make sure shenron uses the correct network configuration X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/714161e93698d14211c319ac58f19695e02a2a6c Make sure shenron uses the correct network configuration --- diff --git a/roles/shenron.rb b/roles/shenron.rb index 9323c23ce..84a38aa06 100644 --- a/roles/shenron.rb +++ b/roles/shenron.rb @@ -21,6 +21,21 @@ default_attributes( "it87" ] }, + :openvpn => { + :address => "10.0.16.3", + :tunnels => { + :shenron2ucl => { + :port => "1194", + :mode => "server", + :peer => { + :host => "ridley.openstreetmap.org" + } + } + } + } +) + +override_attributes( :networking => { :interfaces => { :external_ipv4 => { @@ -40,18 +55,6 @@ default_attributes( :gateway => "fe80::1" } } - }, - :openvpn => { - :address => "10.0.16.3", - :tunnels => { - :shenron2ucl => { - :port => "1194", - :mode => "server", - :peer => { - :host => "ridley.openstreetmap.org" - } - } - } } )