From c2e0dcb8d0791f447dbe7532dec2e671d0a7270e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 10 Sep 2020 08:14:19 +0100 Subject: [PATCH] iRun memcached on locahost if there is no internal address --- cookbooks/web/recipes/frontend.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/web/recipes/frontend.rb b/cookbooks/web/recipes/frontend.rb index 8104304d9..4fa375fba 100644 --- a/cookbooks/web/recipes/frontend.rb +++ b/cookbooks/web/recipes/frontend.rb @@ -17,7 +17,7 @@ # limitations under the License. # -node.default[:memcached][:ip_address] = node.internal_ipaddress +node.default[:memcached][:ip_address] = node.internal_ipaddress || "127.0.0.1" include_recipe "memcached" include_recipe "apache" -- 2.39.5