~1chb1n/charms/trusty/nova-cloud-controller/15.10-stable-flip-tests-helper-syncs

« back to all changes in this revision

Viewing changes to templates/havana/nvp.ini

[yolanda] Add postgresql support
Rejig templates to use includes, add Postgresql context for neutron and quantum config files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
nvp_controllers = {{ nvp_controllers }}
10
10
default_tz_uuid = {{ nvp_tz_uuid }}
11
11
default_l3_gw_service_uuid = {{ nvp_l3_uuid }}
12
 
 
13
 
[database]
14
 
{% if database_host -%}
15
 
connection = mysql://{{ 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 %}
16
 
{% else -%}
17
 
connection = sqlite:////var/lib/neutron/neutron.sqlite
18
 
{% endif -%}