X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/43a8877b0edb9f664a5b5e3171cccd40c65ad9bd..b9c1035ceee9fd2fc76c1488d056b9eb57ae84f2:/roles/planet.rb?ds=sidebyside diff --git a/roles/planet.rb b/roles/planet.rb index 791c2e84f..d9f0112bb 100644 --- a/roles/planet.rb +++ b/roles/planet.rb @@ -7,7 +7,7 @@ default_attributes( :bretth => { :status => :user }, :planet => { :status => :administrator, - :members => [ :bretth ] + :members => [:bretth] } } }, @@ -22,27 +22,34 @@ default_attributes( :uid => "nobody", :gid => "nogroup", :transfer_logging => false, - :exclude => [ ".*" ], + :exclude => [".*"], :max_connections => 10, :ignore_errors => true, :ignore_nonreadable => true, :timeout => 3600, - :refuse_options => [ "checksum" ] + :refuse_options => ["checksum"] } } }, + :networking => { + :firewall => { + :http_connection_limit => 10 + } + }, :apache => { :mpm => "event", :keepalive => true, :event => { :server_limit => 20, :max_clients => 1000, - :threads_per_child => 50 + :threads_per_child => 50, + :max_spare_threads => 525 } } ) run_list( + "role[web-db]", "recipe[planet]", "recipe[planet::replication]", "recipe[nfs::server]",