Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
malvads committed Jun 13, 2024
1 parent 105746f commit e748afe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions resources/recipes/prepare_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@
node.default['redborder']['zookeeper']['zk_hosts'] = "zookeeper.service.#{node['redborder']['cdomain']}:#{node['redborder']['zookeeper']['port']}"

# set webui hosts
webui_hosts = node["redborder"]["managers_per_services"]["webui"].map {|z| "#{z}.node"}
node.default["redborder"]["webui"]["hosts"] = webui_hosts
webui_hosts = node['redborder']['managers_per_services']['webui'].map { |z| "#{z}.node" }
node.default['redborder']['webui']['hosts'] = webui_hosts

#set kafka host index if kafka is enabled in this host
if node["redborder"]["managers_per_services"]["kafka"].include?(node.name)
node.default["redborder"]["kafka"]["host_index"] = node["redborder"]["managers_per_services"]["kafka"].index(node.name)
# set kafka host index if kafka is enabled in this host
if node['redborder']['managers_per_services']['kafka'].include?(node.name)
node.default['redborder']['kafka']['host_index'] = node['redborder']['managers_per_services']['kafka'].index(node.name)
end

# Set all nodes with s3 configured (nginx load balancer)
Expand Down

0 comments on commit e748afe

Please sign in to comment.