X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/41811723bfedbbf2a51b5d463978bc992d0d5d96..310c3fa223b5f20f4f8847b4fd8304189585770b:/roles/ridley.rb diff --git a/roles/ridley.rb b/roles/ridley.rb index 45f586a1b..d3ddde39d 100644 --- a/roles/ridley.rb +++ b/roles/ridley.rb @@ -2,12 +2,24 @@ name "ridley" description "Master role applied to ridley" default_attributes( + :apache => { + :mpm => "event", + :event => { + :min_spare_threads => 50, + :max_spare_threads => 150, + :max_connections_per_child => 10000, + :async_request_worker_factor => 4, + :listen_cores_buckets_ratio => 4 + } + }, + :bind => { + :clients => "ucl" + }, :dhcpd => { :first_address => "10.0.15.1", :last_address => "10.0.15.254" }, :networking => { - :resolved => true, :interfaces => { :external_ipv4 => { :interface => "eth0.2800", @@ -22,44 +34,6 @@ default_attributes( :address => "10.0.0.3" } } - }, - :openvpn => { - :address => "10.0.16.1", - :tunnels => { - :ic2ucl => { - :port => "1194", - :mode => "client", - :peer => { - :host => "ironbelly.openstreetmap.org", - :port => "1194" - } - }, - :shenron2ucl => { - :port => "1195", - :mode => "client", - :peer => { - :host => "shenron.openstreetmap.org", - :port => "1194" - } - }, - :ucl2bm => { - :port => "1196", - :mode => "client", - :peer => { - :host => "grisu.openstreetmap.org", - :port => "1196" - } - }, - :firefishy => { - :port => "1197", - :mode => "client", - :peer => { - :host => "home.firefishy.com", - :port => "1194", - :address => "10.0.16.201" - } - } - } } ) @@ -75,6 +49,5 @@ run_list( "role[donate]", "recipe[hot]", "recipe[dmca]", - "recipe[dhcpd]", - "recipe[openvpn]" + "recipe[dhcpd]" )