]> git.openstreetmap.org Git - chef.git/blobdiff - roles/foundation.rb
Upgrade foundation wikis to elasticsearch 7.x
[chef.git] / roles / foundation.rb
index 02bc8afa440cbae4511c5b3fb871fc030fa271af..95b72429aeba7c77e7f5bb3c83d16ab0bb716157 100644 (file)
@@ -2,21 +2,10 @@ name "foundation"
 description "Role applied to all OSMF servers"
 
 default_attributes(
-  :apache => {
-    :mpm => "prefork",
-    :timeout => 60,
-    :keepalive => false
-  },
-  :apt => {
-    :sources => ["passenger"]
-  },
   :elasticsearch => {
-    :version => "5.x",
+    :version => "7.x",
     :cluster => {
       :name => "foundation"
-    },
-    :script => {
-      :disable_dynamic => false
     }
   },
   :memcached => {
@@ -30,8 +19,6 @@ default_attributes(
         :innodb_buffer_pool_size => "512M",
         :key_buffer_size => "64M",
         :max_connections => "200",
-        :query_cache_size => "48M",
-        :query_cache_type => "1",
         :sort_buffer_size => "8M",
         :tmp_table_size => "48M"
       }
@@ -45,5 +32,6 @@ run_list(
   "recipe[foundation::wiki]",
   "recipe[foundation::board]",
   "recipe[foundation::dwg]",
+  "recipe[foundation::mwg]",
   "recipe[foundation::owg]"
 )