From 3bc8e8f7d3700c7ab607612a13fcdcbd2ad2e4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81lvarez?= <128592227+malvads@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:58:45 +0100 Subject: [PATCH] Update prepare_system.rb --- resources/recipes/prepare_system.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/resources/recipes/prepare_system.rb b/resources/recipes/prepare_system.rb index 6a414bd2..ac6ab0c1 100644 --- a/resources/recipes/prepare_system.rb +++ b/resources/recipes/prepare_system.rb @@ -106,10 +106,6 @@ #zk_hosts = node["redborder"]["managers_per_services"]["zookeeper"].map {|z| "#{z}.node:#{zk_port}"}.join(',') node.default["redborder"]["zookeeper"]["zk_hosts"] = "zookeeper.service.#{node["redborder"]["cdomain"]}:#{node["redborder"]["zookeeper"]["port"]}" -# Set all nodes with s3 configured (nginx load balancer) -s3_hosts = node["redborder"]["managers_per_services"]["s3"].map {|z| "#{z}.node:9000"} -node.default["redborder"]["s3"]["s3_hosts"] = s3_hosts - # set webui hosts webui_hosts = node["redborder"]["managers_per_services"]["webui"].map {|z| "#{z}.node"} node.default["redborder"]["webui"]["webui_hosts"] = webui_hosts