From a552645b05d4af2180596fb01837d0f1062b3ac5 Mon Sep 17 00:00:00 2001
From: Brenton Leanhardt <bleanhar@redhat.com>
Date: Thu, 5 Nov 2015 13:11:42 -0500
Subject: Bug 1278244 - Incorrect node information gathered by
 atomic-openshift-installer

Previously the output was a little confusing.  We didn't display anything about
the uninstalled hosts.
---
 utils/src/ooinstall/cli_installer.py | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'utils')

diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index f675efead..ff740e426 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -343,6 +343,8 @@ def get_hosts_to_run_on(oo_cfg, callback_facts, unattended, force):
                 # anything.
                 if not force:
                     hosts_to_run_on.remove(host)
+        for new_host in set(hosts_to_run_on) - set(installed_hosts):
+            click.echo("{} is currently uninstalled".format(new_host))
         # for unattended either continue if they force install or exit if they didn't
         if unattended:
             if not force:
-- 
cgit v1.2.3