Merge "Share overcloud Heat templates for undercloud conf"

This commit is contained in:
Zuul
2018-03-27 18:05:04 +00:00
committed by Gerrit Code Review
2 changed files with 23 additions and 15 deletions

View File

@@ -0,0 +1,5 @@
---
features:
- |
Underclouds and overclouds may be installed with Heat templates fetched
into a custom location defined with ``overcloud_templates_path``.

View File

@@ -257,6 +257,24 @@ custom_env_files = {{ undercloud_custom_env_files }}
#custom_env_files = <None>
{% endif %}
# Output directory for state, like downloaded ansible configs and
# processed heat templates for heat installer
{% if undercloud_undercloud_output_dir is defined %}
output_dir = {{undercloud_undercloud_output_dir}}
{% else %}
#output_dir = $HOME/.undercloud-heat-installer
{% endif %}
# Clean up mode for the temp files for heat installer on exit
{% if undercloud_undercloud_cleanup is defined and undercloud_undercloud_cleanup|bool %}
cleanup = {{undercloud_undercloud_cleanup}}
{% else %}
#cleanup = False
{% endif %}
# Heat templates directory
templates = {{overcloud_templates_path}}
# Extra config elements.
{% if undercloud_conf_extra != "" %}
{{ undercloud_conf_extra }}
@@ -443,18 +461,3 @@ undercloud_swift_hash_suffix = {{undercloud_undercloud_swift_hash_suffix}}
{% else %}
#undercloud_swift_hash_suffix = <None>
{% endif %}
# Output directory for state, like downloaded ansible configs and
# processed heat templates for heat installer
{% if undercloud_undercloud_output_dir is defined %}
output_dir = {{undercloud_undercloud_output_dir}}
{% else %}
#output_dir = $HOME/.undercloud-heat-installer
{% endif %}
# Clean up mode for the temp files for heat installer on exit
{% if undercloud_undercloud_cleanup is defined and undercloud_undercloud_cleanup|bool %}
cleanup = {{undercloud_undercloud_cleanup}}
{% else %}
#cleanup = False
{% endif %}