summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/cli_installer.py
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-02-19 08:35:28 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-02-19 08:35:28 -0500
commitcf4817f81267d5e1fddabf9ffa4e6c71b336b97f (patch)
tree44986101837be4f3485867f93e6b968c9e964654 /utils/src/ooinstall/cli_installer.py
parent8658a12b5efdf3c8b9a601763858e622342e45f5 (diff)
parent9fdfa2f571a6468c6afb5a2f90240a7232064726 (diff)
downloadopenshift-cf4817f81267d5e1fddabf9ffa4e6c71b336b97f.tar.gz
openshift-cf4817f81267d5e1fddabf9ffa4e6c71b336b97f.tar.bz2
openshift-cf4817f81267d5e1fddabf9ffa4e6c71b336b97f.tar.xz
openshift-cf4817f81267d5e1fddabf9ffa4e6c71b336b97f.zip
Merge pull request #1411 from smunilla/pylint_16_feb_2016
a-o-i: pylint fixes related to too-long lines
Diffstat (limited to 'utils/src/ooinstall/cli_installer.py')
-rw-r--r--utils/src/ooinstall/cli_installer.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 6428b295a..a62bfe134 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -138,9 +138,10 @@ http://docs.openshift.com/enterprise/latest/architecture/infrastructure_componen
host_props['containerized'] = False
if oo_cfg.settings['variant_version'] != '3.0':
- rpm_or_container = click.prompt('Will this host be RPM or Container based (rpm/container)?',
- type=click.Choice(['rpm', 'container']),
- default='rpm')
+ rpm_or_container = \
+ click.prompt('Will this host be RPM or Container based (rpm/container)?',
+ type=click.Choice(['rpm', 'container']),
+ default='rpm')
if rpm_or_container == 'container':
host_props['containerized'] = True
@@ -281,7 +282,8 @@ hostname.
host_props['connect_to'] = click.prompt('Enter hostname or IP address',
value_proc=validate_prompt_lb)
- install_haproxy = click.confirm('Should the reference haproxy load balancer be installed on this host?')
+ install_haproxy = \
+ click.confirm('Should the reference haproxy load balancer be installed on this host?')
host_props['preconfigured'] = not install_haproxy
host_props['master'] = False
host_props['node'] = False
@@ -375,7 +377,8 @@ def check_hosts_config(oo_cfg, unattended):
sys.exit(1)
elif len(master_lb) == 1:
if master_lb[0].master or master_lb[0].node:
- click.echo('ERROR: The Master load balancer is configured as a master or node. Please correct this.')
+ click.echo('ERROR: The Master load balancer is configured as a master or node. ' \
+ 'Please correct this.')
sys.exit(1)
else:
message = """