From ca4b08bb6df610f7eea6e40e9e0ca445091369fa Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Fri, 11 Aug 2017 16:31:01 -0500 Subject: Convert enable-internal-tls.yaml to be generated All of the other SSL environments were converted, but this one was missed. That's an inconsistent user experience and should be cleaned up. This environment also exposed a bug in the tool where it did not include the parameter_defaults section key if all the parameters were marked static. Change-Id: I19bc422c22b9f60f781e696ce703b026dc317786 Closes-Bug: 1713761 (cherry picked from commit 7c06db3d1c384773c4abccbce450c259f75e5e4a) --- tripleo_heat_templates/environment_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tripleo_heat_templates') diff --git a/tripleo_heat_templates/environment_generator.py b/tripleo_heat_templates/environment_generator.py index f1469390..e13690dd 100755 --- a/tripleo_heat_templates/environment_generator.py +++ b/tripleo_heat_templates/environment_generator.py @@ -159,7 +159,7 @@ def _generate_environment(input_env, parent_env=None): for line in env_desc.splitlines(): env_file.write(u'# %s\n' % line) - if parameter_defaults: + if parameter_defaults or static_defaults: env_file.write(u'parameter_defaults:\n') for name, value in sorted(parameter_defaults.items()): write_sample_entry(env_file, name, value) -- cgit 1.2.3-korg