~niedbalski/charms/trusty/nova-compute/template-cleanup

« back to all changes in this revision

Viewing changes to templates/parts/database

  • Committer: James Page
  • Date: 2014-04-16 08:26:38 UTC
  • mfrom: (51.3.32 nova-compute)
  • Revision ID: james.page@canonical.com-20140416082638-e2cld0wqyfqpamy0
[yolanda.robla,james-page,hazmat,ivoks,coreycb,r=james-page,t=*]

Support for Icehouse on 12.04 and 14.04
Support for Active/Active and SSL RabbitMQ
Support for SSL MySQL
Support for SSL endpoints
Support for PostgreSQL

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% if database_host -%}
 
2
sql_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 %}
 
3
{% endif -%}