summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-10-03 17:32:29 -0400
committerGitHub <noreply@github.com>2016-10-03 17:32:29 -0400
commita025229edb987afb69d4799c84956821a2c56ecc (patch)
treec9cf211dbf8adda2e9d50deeb892981aee0153a2
parent2128e5cfd89de206004e33d58ecfca594c87c3d7 (diff)
parent39a9d188209c50698c6694a655f79e9200914b94 (diff)
downloadopenshift-a025229edb987afb69d4799c84956821a2c56ecc.tar.gz
openshift-a025229edb987afb69d4799c84956821a2c56ecc.tar.bz2
openshift-a025229edb987afb69d4799c84956821a2c56ecc.tar.xz
openshift-a025229edb987afb69d4799c84956821a2c56ecc.zip
Merge pull request #2541 from smunilla/fix_failed_install_case
a-o-i: Force option should allow reinstall
-rw-r--r--utils/src/ooinstall/cli_installer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 43b1b3244..347ae7ec9 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -751,7 +751,9 @@ def get_hosts_to_run_on(oo_cfg, callback_facts, unattended, force, verbose):
hosts_to_run_on.remove(host)
# Handle the cases where we know about uninstalled systems
- if len(uninstalled_hosts) > 0:
+ # TODO: This logic is getting hard to understand.
+ # we should revise all this to be cleaner.
+ if not force and len(uninstalled_hosts) > 0:
for uninstalled_host in uninstalled_hosts:
click.echo("{} is currently uninstalled".format(uninstalled_host))
# Fall through