X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..59e504520024e88571bc10c3147f055b2ba35640:/roles/shenron.rb diff --git a/roles/shenron.rb b/roles/shenron.rb index ef75b6015..c3db86355 100644 --- a/roles/shenron.rb +++ b/roles/shenron.rb @@ -5,40 +5,53 @@ default_attributes( :apache => { :mpm => "event", :event => { - :max_requests_per_child => 2000 + :min_spare_threads => 50, + :max_spare_threads => 150 } }, + :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 => { :interface => "eth0", :role => :external, :family => :inet, - :address => "89.16.179.150", + :address => "212.110.172.32", :prefix => "26", - :gateway => "89.16.179.129" + :gateway => "212.110.172.1" }, :external_ipv6 => { :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" - } } - } + }, + :nameservers => ["89.16.162.20", "2001:41c9:2:d6::20"] } ) @@ -46,13 +59,10 @@ run_list( "role[bytemark]", "role[mail]", "role[lists]", - "role[git]", "role[subversion]", "role[trac]", "role[osqa]", "role[irc]", - "role[dns]", - "role[geodns]", - "role[chef-repository]", + "recipe[blogs]", "recipe[openvpn]" )