]> git.openstreetmap.org Git - chef.git/blobdiff - roles/dev.rb
Rename MaxRequestsPerChild to MaxConnectionsPerChild
[chef.git] / roles / dev.rb
index c69219e54a81f941ad3f3148235511c99fd73640..928d706760de15bf55472943cf050814e6ab7de5 100644 (file)
@@ -66,6 +66,7 @@ default_attributes(
       :dodobas => { :status => :user },
       :mhohmann => { :status => :user },
       :enelson => { :status => :user },
+      :gregrs => { :status => :user },
       :ooc => {
         :status => :role,
         :members => [:tomh, :blackadder, :timsc, :ollie]
@@ -89,11 +90,14 @@ default_attributes(
     :timeout => 30,
     :event => {
       :server_limit => 32,
-      :max_clients => 800,
+      :max_request_workers => 800,
       :threads_per_child => 50,
-      :max_requests_per_child => 10000
+      :max_connections_per_child => 10000
     }
   },
+  :apt => {
+    :sources => ["postgresql"]
+  },
   :dev => {
     :rails => {
       :master => {
@@ -127,11 +131,8 @@ default_attributes(
       }
     }
   },
-  :passenger => {
-    :ruby_version => "2.3"
-  },
   :postgresql => {
-    :versions => ["9.1", "9.3"],
+    :versions => ["9.1", "9.5"],
     :settings => {
       :defaults => {
         :shared_buffers => "1GB",
@@ -143,7 +144,7 @@ default_attributes(
       "9.1" => {
         :port => "5433"
       },
-      "9.3" => {
+      "9.5" => {
         :port => "5432"
       }
     }