X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7013f21316fbdc86a8a36c7aea7f908878db6ef7..1487af8ca1966e63f9316150fe22db516626ddd6:/roles/shenron.rb diff --git a/roles/shenron.rb b/roles/shenron.rb index 9323c23ce..2634ec0d2 100644 --- a/roles/shenron.rb +++ b/roles/shenron.rb @@ -13,14 +13,33 @@ default_attributes( :apache => { :mpm => "event", :event => { - :max_connections_per_child => 2000 + :min_spare_threads => 50, + :max_spare_threads => 150 } }, + :apt => { + :sources => ["brightbox-ruby-ng"] + }, :hardware => { :modules => [ "it87" ] }, + :openvpn => { + :address => "10.0.16.3", + :tunnels => { + :shenron2ucl => { + :port => "1194", + :mode => "server", + :peer => { + :host => "ridley.openstreetmap.org" + } + } + } + } +) + +override_attributes( :networking => { :interfaces => { :external_ipv4 => { @@ -40,18 +59,6 @@ default_attributes( :gateway => "fe80::1" } } - }, - :openvpn => { - :address => "10.0.16.3", - :tunnels => { - :shenron2ucl => { - :port => "1194", - :mode => "server", - :peer => { - :host => "ridley.openstreetmap.org" - } - } - } } ) @@ -67,5 +74,6 @@ run_list( "role[dns]", "role[geodns]", "role[chef-repository]", + "recipe[blogs]", "recipe[openvpn]" )