Skip to content

Commit

Permalink
Update prepare_system.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
malvads authored Jun 10, 2024
1 parent 6e7680a commit 3bc8e8f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions resources/recipes/prepare_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bc8e8f

Please sign in to comment.