X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/44de5598fddc11a7594ebc8a0fdd3ea6bf598a75..e09a952838cef25511249a39ad8fbd203c29b9a2:/roles/fafnir.rb?ds=sidebyside diff --git a/roles/fafnir.rb b/roles/fafnir.rb index 2a8a1d138..d8e6b5b50 100644 --- a/roles/fafnir.rb +++ b/roles/fafnir.rb @@ -13,6 +13,24 @@ default_attributes( :family => :inet, :address => "172.31.10.210", :hwaddress => "02:c1:c5:8b:5f:1d" + }, + :external_ipv4 => { + :role => :external, + :family => :inet, + :address => "52.50.86.69" + } + } + }, + :openvpn => { + :address => "10.0.16.4", + :tunnels => { + :aws2ic => { + :port => "1194", + :mode => "client", + :peer => { + :host => "ironbelly.openstreetmap.org", + :port => "1195" + } } } }, @@ -38,5 +56,7 @@ default_attributes( ) run_list( - "role[aws]" + "role[aws]", + "role[db-slave]", + "recipe[openvpn]" )