From c38bd418e0940deb5fb3f57583d1e6d0019962cf Mon Sep 17 00:00:00 2001 From: Samuel Munilla Date: Thu, 11 Aug 2016 14:58:40 -0400 Subject: 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. --- utils/test/cli_installer_tests.py | 1 + utils/test/fixture.py | 1 + 2 files changed, 2 insertions(+) (limited to 'utils/test') 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: -- cgit v1.2.1