]> git.openstreetmap.org Git - chef.git/blobdiff - roles/foundation.rb
Improve handling of apache mpm selection
[chef.git] / roles / foundation.rb
index 7d46dc74880856e3996e4ddc0d51c86ee9029b18..6220831642491e998bfe5d8ea18447e791fc4420 100644 (file)
@@ -3,20 +3,16 @@ description "Role applied to all OSMF servers"
 
 default_attributes(
   :apache => {
-    :mpm => "prefork",
     :timeout => 60,
     :keepalive => false
   },
   :apt => {
-    :sources => ["passenger", "brightbox-ruby-ng"]
+    :sources => ["passenger"]
   },
   :elasticsearch => {
-    :version => "2.x",
+    :version => "5.x",
     :cluster => {
       :name => "foundation"
-    },
-    :script => {
-      :disable_dynamic => false
     }
   },
   :memcached => {
@@ -31,6 +27,7 @@ default_attributes(
         :key_buffer_size => "64M",
         :max_connections => "200",
         :query_cache_size => "48M",
+        :query_cache_type => "1",
         :sort_buffer_size => "8M",
         :tmp_table_size => "48M"
       }
@@ -44,5 +41,6 @@ run_list(
   "recipe[foundation::wiki]",
   "recipe[foundation::board]",
   "recipe[foundation::dwg]",
+  "recipe[foundation::mwg]",
   "recipe[foundation::owg]"
 )