~cbjchen/charms/trusty/cinder/remove_stale_key

« back to all changes in this revision

Viewing changes to templates/cinder.conf

  • Committer: James Page
  • Date: 2014-03-31 11:11:01 UTC
  • mfrom: (27.5.8 cinder)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: james.page@canonical.com-20140331111101-rg38s7pc2zbm8hk8
[yolanda] Add support for postgresql
Refactor templates to use includes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
state_path = /var/lib/cinder
16
16
lock_path = /var/lock/cinder
17
17
volumes_dir = /var/lib/cinder/volumes
18
 
{% if database_host -%}
19
 
sql_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 %}
20
 
{% endif %}
 
18
 
 
19
{% include "parts/database" %}
 
20
 
21
21
{% if rabbitmq_host %}
22
22
notification_driver = cinder.openstack.common.notifier.rabbit_notifier
23
23
control_exchange = cinder
33
33
rabbit_password = {{ rabbitmq_password }}
34
34
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
35
35
{% endif -%}
 
36
 
36
37
{% if volume_driver -%}
37
38
volume_driver = {{ volume_driver }}
38
39
{% endif -%}
 
40
 
39
41
{% if rbd_pool -%}
40
42
rbd_pool = {{ rbd_pool }}
41
43
host = {{ host }}
42
44
rbd_user = {{ rbd_user }}
43
45
{% endif -%}
 
46
 
44
47
{% if osapi_volume_listen_port -%}
45
48
osapi_volume_listen_port = {{ osapi_volume_listen_port }}
46
49
{% endif -%}
 
50
 
47
51
{% if glance_api_servers -%}
48
52
glance_api_servers = {{ glance_api_servers }}
49
53
{% endif -%}
 
54
 
50
55
{% if glance_api_version -%}
51
56
glance_api_version = {{ glance_api_version }}
52
57
{% endif -%}