summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-09 10:38:07 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-09 10:38:07 -0500
commit96464d04a5b88e7fb090b286b10838a183a2758a (patch)
tree4d941466e20febdbf6c202b3b1001a0b35c2a78c /utils/src/ooinstall
parent334c20584080abaaee9551b25a0efed1526e5e72 (diff)
downloadopenshift-96464d04a5b88e7fb090b286b10838a183a2758a.tar.gz
openshift-96464d04a5b88e7fb090b286b10838a183a2758a.tar.bz2
openshift-96464d04a5b88e7fb090b286b10838a183a2758a.tar.xz
openshift-96464d04a5b88e7fb090b286b10838a183a2758a.zip
Various fixes related to connect_to
There the tests didn't know anything about connect_to and we had a case where we weren't handling the migration from the 3.0 installer config format to 3.1
Diffstat (limited to 'utils/src/ooinstall')
-rw-r--r--utils/src/ooinstall/oo_config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/src/ooinstall/oo_config.py b/utils/src/ooinstall/oo_config.py
index f35a8f51b..cf51bb404 100644
--- a/utils/src/ooinstall/oo_config.py
+++ b/utils/src/ooinstall/oo_config.py
@@ -118,6 +118,7 @@ class OOConfig(object):
new_hosts = []
if 'validated_facts' in self.settings:
for key, value in self.settings['validated_facts'].iteritems():
+ value['connect_to'] = key
if 'masters' in self.settings and key in self.settings['masters']:
value['master'] = True
if 'nodes' in self.settings and key in self.settings['nodes']: