]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/osqa/recipes/default.rb
Updates for rubocop and foodcritic changes
[chef.git] / cookbooks / osqa / recipes / default.rb
index db96e2e7921427b6ccb4ed18a8d8faa2f2ee05e8..fe8306fdc7dfb0c192eff61b136bda1c45ef76af 100644 (file)
@@ -102,7 +102,7 @@ node[:osqa][:sites].each do |site|
     line.gsub!(/^ALLOWED_HOSTS = .*/, "ALLOWED_HOSTS = ('help.openstreetmap.org',)")
     line.gsub!(/^CACHE_BACKEND = .*/, "CACHE_BACKEND = 'memcached://127.0.0.1:11211/'")
     line.gsub!(%r{^APP_URL = 'http://'}, "APP_URL = 'http://#{name}'")
-    line.gsub!(/^TIME_ZONE = 'America\/New_York'/, "TIME_ZONE = 'Europe/London'")
+    line.gsub!(%r{^TIME_ZONE = 'America/New_York'}, "TIME_ZONE = 'Europe/London'")
     line.gsub!(/^DISABLED_MODULES = \[([^\]]+)\]/, "DISABLED_MODULES = [\\1, 'localauth', 'facebookauth', 'oauthauth']")
 
     line