]> git.openstreetmap.org Git - chef.git/commitdiff
osqa: disable unused mysqlfulltext module
authorGrant Slater <github@firefishy.com>
Mon, 12 Dec 2022 22:20:29 +0000 (22:20 +0000)
committerGrant Slater <github@firefishy.com>
Mon, 12 Dec 2022 22:21:02 +0000 (22:21 +0000)
cookbooks/osqa/recipes/default.rb

index 3a229531f3d1408d79eca5fb295854a31b459ed4..2c924332fe4f19b4185989add22e7d340e77d3ee 100644 (file)
@@ -144,7 +144,7 @@ node[:osqa][:sites].each do |site|
     line.gsub!(/^CACHE_BACKEND = .*/, "CACHE_BACKEND = 'memcached://127.0.0.1:11211/'")
     line.gsub!(%r{^APP_URL = 'http://'}, "APP_URL = 'https://#{site_name}'")
     line.gsub!(%r{^TIME_ZONE = 'America/New_York'}, "TIME_ZONE = 'Europe/London'")
-    line.gsub!(/^DISABLED_MODULES = \[([^\]]+)\]/, "DISABLED_MODULES = [\\1, 'localauth', 'facebookauth', 'oauthauth']")
+    line.gsub!(/^DISABLED_MODULES = \[([^\]]+)\]/, "DISABLED_MODULES = [\\1, 'localauth', 'facebookauth', 'oauthauth', 'mysqlfulltext']")
 
     line
   end