X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b0e794ecd4ca2669d1f34c563ed2cfcc8b37a06c..2e17bd4b4697423f9c124cfdb802424a58c16d80:/roles/ridley.rb diff --git a/roles/ridley.rb b/roles/ridley.rb index 13ba3dafd..9b4b1f93c 100644 --- a/roles/ridley.rb +++ b/roles/ridley.rb @@ -2,33 +2,23 @@ name "ridley" description "Master role applied to ridley" default_attributes( - :ssl => { - :certificates => %w(osmfoundation openstreetmap) - }, :apache => { - :ssl => { - :certificate => "osmfoundation" + :mpm => "event", + :event => { + :start_servers => 12, + :server_limit => 48, + :min_spare_threads => 25, + :max_spare_threads => 75, + :max_connections_per_child => 10000 } }, + :bind => { + :clients => "ucl" + }, :dhcpd => { :first_address => "10.0.15.1", :last_address => "10.0.15.254" }, - :munin => { - :graphs => { - :apcpdu_ucl => { - :title => "Current for UCL", - :vlabel => "Amps", - :category => "Ups", - :values => { - :load => { - :sum => ["apcpdu_apc1.load", "apcpdu_apc2.load", "apcpdu_apc3.load"], - :label => "Load" - } - } - } - } - }, :networking => { :interfaces => { :external_ipv4 => { @@ -44,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" - } - } - } } ) @@ -91,10 +43,11 @@ run_list( "role[gateway]", "role[foundation]", "role[stateofthemap]", - "role[switch2osm]", "role[blog]", "role[otrs]", "role[donate]", + "recipe[hot]", + "recipe[dmca]", "recipe[dhcpd]", - "recipe[openvpn]" + "recipe[ideditor]" )