X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d367bfde14a793d993542d9885a60a72aab85095..0d5f8536e0ddf09a6b923e1bc01f79f27e3ba05d:/roles/shenron.rb diff --git a/roles/shenron.rb b/roles/shenron.rb index e27612169..42d25d9d0 100644 --- a/roles/shenron.rb +++ b/roles/shenron.rb @@ -7,15 +7,42 @@ 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 => { + :mcelog => { + :enabled => false + }, + :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 => { @@ -30,21 +57,9 @@ default_attributes( :interface => "eth0", :role => :external, :family => :inet6, - :address => "2001:41c8:0010:0996:21d:7dff:fec3:df70", + :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 +77,6 @@ run_list( "role[dns]", "role[geodns]", "role[chef-repository]", + "recipe[blogs]", "recipe[openvpn]" )