summaryrefslogtreecommitdiffstats
path: root/utils/test
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2016-08-11 14:58:40 -0400
committerSamuel Munilla <smunilla@redhat.com>2016-08-19 13:09:15 -0400
commitc38bd418e0940deb5fb3f57583d1e6d0019962cf (patch)
tree1be456059929a015108e8ebc5ebef2f4c43a4571 /utils/test
parent7435ce713bbd3018192e3b7287ccfc5bf967e290 (diff)
downloadopenshift-c38bd418e0940deb5fb3f57583d1e6d0019962cf.tar.gz
openshift-c38bd418e0940deb5fb3f57583d1e6d0019962cf.tar.bz2
openshift-c38bd418e0940deb5fb3f57583d1e6d0019962cf.tar.xz
openshift-c38bd418e0940deb5fb3f57583d1e6d0019962cf.zip
Bug 1358951 - Error loading config, no such key: 'deployment' when using previously valid answers file
Update the quick installer to automatically convert from the old config file format to the new format.
Diffstat (limited to 'utils/test')
-rw-r--r--utils/test/cli_installer_tests.py1
-rw-r--r--utils/test/fixture.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/utils/test/cli_installer_tests.py b/utils/test/cli_installer_tests.py
index 0556e52a1..8e4c3c4c6 100644
--- a/utils/test/cli_installer_tests.py
+++ b/utils/test/cli_installer_tests.py
@@ -101,6 +101,7 @@ MOCK_FACTS_QUICKHA = {
# Missing connect_to on some hosts:
BAD_CONFIG = """
variant: %s
+version: v2
deployment:
ansible_ssh_user: root
hosts:
diff --git a/utils/test/fixture.py b/utils/test/fixture.py
index b2a0a7134..a883e5c56 100644
--- a/utils/test/fixture.py
+++ b/utils/test/fixture.py
@@ -12,6 +12,7 @@ SAMPLE_CONFIG = """
variant: %s
variant_version: 3.3
master_routingconfig_subdomain: example.com
+version: v2
deployment:
ansible_ssh_user: root
hosts: