From 047f1b73adc131ac1ef1d78a4ca8218cc8755d46 Mon Sep 17 00:00:00 2001 From: "Darren L. Weber, Ph.D" Date: Fri, 22 Sep 2017 13:35:38 -0700 Subject: [PATCH] puts data from ServiceManager#describe_nodes --- lib/kafka/kafka_nodes.rake | 2 +- lib/kafka_manager/kafka_manager_nodes.rake | 2 +- lib/zookeeper/zookeeper_nodes.rake | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/kafka/kafka_nodes.rake b/lib/kafka/kafka_nodes.rake index 164027a..9bf9af2 100644 --- a/lib/kafka/kafka_nodes.rake +++ b/lib/kafka/kafka_nodes.rake @@ -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' diff --git a/lib/kafka_manager/kafka_manager_nodes.rake b/lib/kafka_manager/kafka_manager_nodes.rake index bdc7fae..1a60ef6 100644 --- a/lib/kafka_manager/kafka_manager_nodes.rake +++ b/lib/kafka_manager/kafka_manager_nodes.rake @@ -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' diff --git a/lib/zookeeper/zookeeper_nodes.rake b/lib/zookeeper/zookeeper_nodes.rake index 07b42f5..73e584b 100644 --- a/lib/zookeeper/zookeeper_nodes.rake +++ b/lib/zookeeper/zookeeper_nodes.rake @@ -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'