summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-27 10:47:35 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-27 11:19:13 -0400
commit94ce712e8e0ebeec4b0c27c6b9b26f03a26a1fd5 (patch)
treedb2ee1f9f65df9fe346b69e46bafeea6cc270eba /utils
parent23674ef59589b884d399c5c0c57f30f2baf5b89e (diff)
downloadopenshift-94ce712e8e0ebeec4b0c27c6b9b26f03a26a1fd5.tar.gz
openshift-94ce712e8e0ebeec4b0c27c6b9b26f03a26a1fd5.tar.bz2
openshift-94ce712e8e0ebeec4b0c27c6b9b26f03a26a1fd5.tar.xz
openshift-94ce712e8e0ebeec4b0c27c6b9b26f03a26a1fd5.zip
Improved output when re-running after editing config.
Diffstat (limited to 'utils')
-rw-r--r--utils/src/ooinstall/cli_installer.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 56bb75187..28b72a7dc 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -160,10 +160,10 @@ def print_host_summary(hosts):
masters = [host for host in hosts if host.master]
nodes = [host for host in hosts if host.node]
click.echo('')
- click.echo('Current Masters: %s' % len(masters))
+ click.echo('OpenShift Masters: %s' % len(masters))
for host in masters:
click.echo(' %s' % host.connect_to)
- click.echo('Current Nodes: %s' % len(nodes))
+ click.echo('OpenShift Nodes: %s' % len(nodes))
for host in nodes:
click.echo(' %s' % host.connect_to)
click.echo('Additional Masters required for HA: %s' %
@@ -690,6 +690,7 @@ def install(ctx, force):
check_hosts_config(oo_cfg, ctx.obj['unattended'])
click.echo('Gathering information from hosts...')
+ print_host_summary(oo_cfg.hosts)
callback_facts, error = openshift_ansible.default_facts(oo_cfg.hosts,
verbose)
if error:
@@ -714,8 +715,8 @@ def install(ctx, force):
click.echo('Ready to run installation process.')
message = """
-If changes are needed to the values recorded by the installer please update {}.
-""".format(oo_cfg.config_path)
+If changes are needed please edit the config file above and re-run.
+"""
if not ctx.obj['unattended']:
confirm_continue(message)