X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ec5f2060c4cae7fa42350a02c0fc3092669de6bd..9a44b9d826f560fef64b54924313e8e8b589ef5a:/roles/grisu.rb?ds=inline diff --git a/roles/grisu.rb b/roles/grisu.rb index d572d88f0..be3a48e3f 100644 --- a/roles/grisu.rb +++ b/roles/grisu.rb @@ -4,34 +4,67 @@ description "Master role applied to grisu" default_attributes( :networking => { :interfaces => { + :internal_ipv4 => { + :interface => "bond0", + :role => :internal, + :family => :inet, + :address => "10.0.32.20", + :bond => { + :slaves => %w[em1 em2] + } + }, :external_ipv4 => { - :interface => "em1", + :interface => "bond0.214", :role => :external, :family => :inet, - :address => "193.63.75.108", - :hwaddress => "d8:d3:85:5d:87:a0" + :address => "89.16.162.20" }, :external_ipv6 => { - :interface => "em1", + :interface => "bond0.214", :role => :external, :family => :inet6, - :address => "2001:630:12:500:dad3:85ff:fe5d:87a0" + :address => "2001:41c9:2:d6::20" + } + } + }, + :openvpn => { + :address => "10.0.16.5", + :tunnels => { + :ic2bm => { + :port => "1194", + :mode => "server", + :peer => { + :host => "ironbelly.openstreetmap.org" + } }, - :internal_ipv4 => { - :interface => "em2", - :role => :internal, - :family => :inet, - :address => "146.179.159.168", - :hwaddress => "d8:d3:85:5d:87:a1" + :aws2bm => { + :port => "1195", + :mode => "server", + :peer => { + :host => "fafnir.openstreetmap.org" + } + }, + :ucl2bm => { + :port => "1196", + :mode => "server", + :peer => { + :host => "ridley.openstreetmap.org" + } } } + }, + :planet => { + :replication => "disabled" } ) run_list( - "role[ic]", + "role[bytemark]", "role[hp-dl180-g6]", "role[gateway]", "role[web-storage]", - "role[planet]" + "role[backup]", + "role[planet]", + # "role[planetdump]", + "recipe[openvpn]" )