Merge "Move enable_nova after enable_ironic"

This commit is contained in:
Zuul 2019-08-22 02:10:42 +00:00 committed by Gerrit Code Review
commit 097210977f
1 changed files with 6 additions and 6 deletions

View File

@ -506,12 +506,6 @@ def prepare_undercloud_deploy(upgrade=False, no_validations=False,
'-e', os.path.join(tht_templates, 'environments/use-dns-for-vips.yaml')
]
if not CONF.get('enable_nova', True):
deploy_args += [
'-e', os.path.join(
tht_templates, 'environments/undercloud-disable-nova.yaml')
]
# we want to load this environment after undercloud.yaml for precedence.
if CONF.get('container_cli', 'podman') == 'podman':
deploy_args += [
@ -539,6 +533,12 @@ def prepare_undercloud_deploy(upgrade=False, no_validations=False,
_process_drivers_and_hardware_types(CONF, env_data)
_process_ipa_args(CONF, env_data)
if not CONF.get('enable_nova', True):
deploy_args += [
'-e', os.path.join(
tht_templates, 'environments/undercloud-disable-nova.yaml')
]
if CONF.get('enable_mistral'):
deploy_args += ['-e', os.path.join(
tht_templates, "environments/services/mistral.yaml")]