From fb3ae238744efe974e3a7a206641139f677a8e3c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 6 Jan 2017 21:47:51 +0000 Subject: [PATCH] Use bytemark memcached servers --- roles/bytemark.rb | 3 ++- roles/ic.rb | 3 ++- roles/web.rb | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/roles/bytemark.rb b/roles/bytemark.rb index 6d539ff5f..95cc5628f 100644 --- a/roles/bytemark.rb +++ b/roles/bytemark.rb @@ -29,7 +29,8 @@ default_attributes( :web => { :backends => %w(rails4 rails5), :fileserver => "grisu", - :readonly_database_host => "katla.bm.openstreetmap.org" + :readonly_database_host => "katla.bm.openstreetmap.org", + :memcached_servers => %w(rails4.bm rails5.bm) } ) diff --git a/roles/ic.rb b/roles/ic.rb index 4041d2b36..ff689583d 100644 --- a/roles/ic.rb +++ b/roles/ic.rb @@ -32,7 +32,8 @@ default_attributes( :web => { :backends => %w(rails1 rails2 rails3), :fileserver => "ironbelly", - :readonly_database_host => "karm.ic.openstreetmap.org" + :readonly_database_host => "karm.ic.openstreetmap.org", + :memcached_servers => %w(rails1.ic rails2.ic rails3.ic) } ) diff --git a/roles/web.rb b/roles/web.rb index dce003b3d..85124e485 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -14,8 +14,7 @@ default_attributes( :pool_idle_time => 0 }, :web => { - :status => "online", - :memcached_servers => %w(rails1.ic rails2.ic rails3.ic) + :status => "online" } ) -- 2.39.5