Merge "Fix database parts templates for nova_alchemy_flags."
This commit is contained in:
commit
da247f22f9
|
@ -2,7 +2,7 @@
|
|||
{% if nova_api_database_host -%}
|
||||
connection = {{ nova_api_database_type }}://{{ nova_api_database_user }}:{{ nova_api_database_password }}@{{ nova_api_database_host }}/{{ nova_api_database }}{% if nova_api_database_ssl_ca %}?ssl_ca={{ nova_api_database_ssl_ca }}{% if nova_api_database_ssl_cert %}&ssl_cert={{ nova_api_database_ssl_cert }}&ssl_key={{ nova_api_database_ssl_key }}{% endif %}{% endif %}
|
||||
{% endif -%}
|
||||
{% if not nova_alchemy_flags or 'max_pool_size' not in nova_alchemy_flags.iterkeys() -%}
|
||||
{% if not nova_alchemy_flags or 'max_pool_size' not in nova_alchemy_flags.keys() -%}
|
||||
max_pool_size = {{ workers }}
|
||||
{% endif -%}
|
||||
{% if nova_alchemy_flags -%}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% if database_host -%}
|
||||
connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
|
||||
{% endif -%}
|
||||
{% if not nova_alchemy_flags or 'max_pool_size' not in nova_alchemy_flags.iterkeys() -%}
|
||||
{% if not nova_alchemy_flags or 'max_pool_size' not in nova_alchemy_flags.keys() -%}
|
||||
max_pool_size = {{ workers }}
|
||||
{% endif -%}
|
||||
{% if nova_alchemy_flags -%}
|
||||
|
|
Loading…
Reference in New Issue