Skip to content

Commit

Permalink
puts data from ServiceManager#describe_nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
dazza-codes committed Sep 25, 2017
1 parent 0f4e463 commit 047f1b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/kafka/kafka_nodes.rake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace :kafka do

desc 'Find and describe all nodes'
task :find do
KafkaHelpers.manager.describe_nodes
puts KafkaHelpers.manager.describe_nodes.join("\n")
end

desc 'Reboot Kafka systems - WARNING, can reset IPs'
Expand Down
2 changes: 1 addition & 1 deletion lib/kafka_manager/kafka_manager_nodes.rake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace :kafka_manager do

desc 'Find and describe all nodes'
task :find do
KafkaManagerHelpers.manager.describe_nodes
puts KafkaManagerHelpers.manager.describe_nodes.join("\n")
end

desc 'Reboot Kafka systems - WARNING, can reset IPs'
Expand Down
2 changes: 1 addition & 1 deletion lib/zookeeper/zookeeper_nodes.rake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace :zookeeper do

desc 'Find and describe all nodes'
task :find do
ZookeeperHelpers.manager.describe_nodes
puts ZookeeperHelpers.manager.describe_nodes.join("\n")
end

desc 'Compose public entries for ~/.ssh/config for nodes'
Expand Down

0 comments on commit 047f1b7

Please sign in to comment.