X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/edeb17167b2854344c352e1c725085636afd3668..3883ad025353c2e68a6acee0966d4d1c4a9f70e6:/roles/shenron.rb diff --git a/roles/shenron.rb b/roles/shenron.rb index d5fd177f8..2634ec0d2 100644 --- a/roles/shenron.rb +++ b/roles/shenron.rb @@ -7,15 +7,39 @@ default_attributes( :bretth => { :status => :user, :shell => "/usr/bin/git-shell" - }, + } } }, :apache => { :mpm => "event", :event => { - :max_requests_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 => { @@ -33,18 +57,6 @@ default_attributes( :address => "2001:41c9:1:400::32", :prefix => "64", :gateway => "fe80::1" - }, - } - }, - :openvpn => { - :address => "10.0.16.3", - :tunnels => { - :shenron2ucl => { - :port => "1194", - :mode => "server", - :peer => { - :host => "ridley.openstreetmap.org" - } } } } @@ -62,5 +74,6 @@ run_list( "role[dns]", "role[geodns]", "role[chef-repository]", + "recipe[blogs]", "recipe[openvpn]" )