Merge "Refactor galera_use_ssl behaviour"
This commit is contained in:
commit
8dbcc8d0ca
|
@ -161,7 +161,7 @@ barbican_galera_address: "{{ galera_address | default('127.0.0.1') }}"
|
|||
barbican_galera_database: barbican
|
||||
barbican_galera_user: barbican
|
||||
barbican_galera_use_ssl: "{{ galera_use_ssl | default(False) }}"
|
||||
barbican_galera_ssl_ca_cert: "{{ galera_ssl_ca_cert | default('/etc/ssl/certs/galera-ca.pem') }}"
|
||||
barbican_galera_ssl_ca_cert: "{{ galera_ssl_ca_cert | default('') }}"
|
||||
barbican_galera_port: "{{ galera_port | default('3306') }}"
|
||||
|
||||
## Oslo Messaging
|
||||
|
|
|
@ -12,7 +12,7 @@ debug = {{ debug }}
|
|||
# communicate back with this service.
|
||||
host_href = {{ barbican_service_publicurl }}
|
||||
|
||||
sql_connection = mysql+pymysql://{{ barbican_galera_user }}:{{ barbican_galera_password }}@{{ barbican_galera_address }}/{{ barbican_galera_database }}?charset=utf8{% if barbican_galera_use_ssl | bool %}&ssl_ca={{ barbican_galera_ssl_ca_cert }}{% endif %}
|
||||
sql_connection = mysql+pymysql://{{ barbican_galera_user }}:{{ barbican_galera_password }}@{{ barbican_galera_address }}/{{ barbican_galera_database }}?charset=utf8{% if barbican_galera_use_ssl | bool %}&ssl_verify_cert=true{% if barbican_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ barbican_galera_ssl_ca_cert }}{% endif %}{% endif %}
|
||||
|
||||
# Rabbit and HA configuration:
|
||||
ampq_durable_queues = True
|
||||
|
|
Loading…
Reference in New Issue