~james-page/charms/precise/cinder/pre-test

« back to all changes in this revision

Viewing changes to templates/cinder.conf

  • Committer: Adam Gandelman
  • Date: 2013-10-17 21:48:08 UTC
  • Revision ID: adamg@canonical.com-20131017214808-k52pya40bowxzg4i
Merging python-redux and havana work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###############################################################################
 
2
# [ WARNING ]
 
3
# cinder configuration file maintained by Juju
 
4
# local changes may be overwritten.
 
5
###############################################################################
 
6
[DEFAULT]
 
7
rootwrap_config = /etc/cinder/rootwrap.conf
 
8
api_paste_confg = /etc/cinder/api-paste.ini
 
9
iscsi_helper = tgtadm
 
10
volume_name_template = volume-%s
 
11
volume_group = cinder-volumes
 
12
verbose = True
 
13
auth_strategy = keystone
 
14
state_path = /var/lib/cinder
 
15
lock_path = /var/lock/cinder
 
16
volumes_dir = /var/lib/cinder/volumes
 
17
{% if database_host -%}
 
18
sql_connection = mysql://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}
 
19
{% endif -%}
 
20
{% if rabbitmq_host -%}
 
21
rabbit_host = {{ rabbitmq_host }}
 
22
rabbit_userid = {{ rabbitmq_user }}
 
23
rabbit_password = {{ rabbitmq_password }}
 
24
rabbit_virtual_host = {{ rabbitmq_virtual_host }}
 
25
{% endif -%}
 
26
{% if volume_driver -%}
 
27
volume_driver = {{ volume_driver }}
 
28
{% endif -%}
 
29
{% if rbd_pool -%}
 
30
rbd_pool = {{ rbd_pool }}
 
31
host = {{ host }}
 
32
rbd_user = {{ rbd_user }}
 
33
{% endif -%}
 
34
{% if osapi_volume_listen_port -%}
 
35
osapi_volume_listen_port = {{ osapi_volume_listen_port }}
 
36
{% endif -%}
 
37
{% if glance_api_servers -%}
 
38
glance_api_servers = {{ glance_api_servers }}
 
39
{% endif -%}
 
40
{% if glance_api_version -%}
 
41
glance_api_version = {{ glance_api_version }}
 
42
{% endif -%}
 
 
b'\\ No newline at end of file'