X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/677f47bfd7c92ece12f3e83419ecfd7b1762ea83..bb9a30b688410dbea19b9dce658582d630bb93a0:/roles/ironbelly.rb diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index e06df5b2f..a3a94fc63 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -4,28 +4,42 @@ description "Master role applied to ironbelly" default_attributes( :networking => { :interfaces => { - :external_ipv4 => { + :internal_ipv4 => { :interface => "eth0", + :role => :internal, + :family => :inet, + :address => "146.179.159.177" + }, + :external_ipv4 => { + :interface => "eth1", :role => :external, :family => :inet, - :address => "" + :address => "193.63.75.107" }, :external_ipv6 => { - :interface => "eth0", + :interface => "eth1", :role => :external, :family => :inet6, - :address => "" - }, - :internal_ipv4 => { - :interface => "eth1", - :role => :internal, - :family => :inet, - :address => "" + :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]" )