]> git.openstreetmap.org Git - chef.git/blobdiff - roles/planet.rb
Pass authentication headers to cgimap so that it can handle OAuth.
[chef.git] / roles / planet.rb
index d68bdabc3ac589e6c041bc9506308133bd6b2dfe..d9f0112bbaacbd4b4aeea042aab62baa5b825240 100644 (file)
@@ -31,18 +31,25 @@ default_attributes(
       }
     }
   },
+  :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]",