From 0f71f1838a40b5ead039441f7cd159100034503e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 9 May 2016 15:46:12 +0100 Subject: [PATCH] Use location specific backends for memcache servers --- cookbooks/web/recipes/rails.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/web/recipes/rails.rb b/cookbooks/web/recipes/rails.rb index 632a627cc..2542edea3 100644 --- a/cookbooks/web/recipes/rails.rb +++ b/cookbooks/web/recipes/rails.rb @@ -64,7 +64,7 @@ rails_port "www.openstreetmap.org" do attachments_dir "/store/rails/attachments" log_path "#{node[:web][:log_directory]}/rails.log" logstash_path "#{node[:web][:log_directory]}/rails-logstash.log" - memcache_servers %w(rails1 rails2 rails3) + memcache_servers node[:web][:backends] potlatch2_key web_passwords["potlatch2_key"] id_key web_passwords["id_key"] oauth_key web_passwords["oauth_key"] -- 2.43.2