~1chb1n/charms/trusty/ceph-radosgw/next.1601-test-update2

« back to all changes in this revision

Viewing changes to templates/ceph.conf

  • Committer: James Page
  • Date: 2013-02-08 11:12:07 UTC
  • mfrom: (9.1.4 ceph-radosgw)
  • Revision ID: james.page@canonical.com-20130208111207-gt2222i1heux7hl6
Add support for Ceph Bobtail LTS release

- Add support for keystone based authentication (use keystone charm).
- Misc other updates including new cephx options.

Fixes

- Improve hostname -> ip address resolution
- Disable 100-continue processing as requires a fork of mod_fastcgi
- Resync utils.py, ceph.py across ceph charms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
[global]
 
2
{% if version < "0.51" %}
2
3
 auth supported = {{ auth_supported }}
 
4
{% else %}
 
5
 auth cluster required = {{ auth_supported }}
 
6
 auth service required = {{ auth_supported }}
 
7
 auth client required = {{ auth_supported }}
 
8
{% endif %}
3
9
 mon host = {{ mon_hosts }}
4
10
 
5
11
[client.radosgw.gateway]
7
13
 keyring = /etc/ceph/keyring.rados.gateway
8
14
 rgw socket path = /tmp/radosgw.sock
9
15
 log file = /var/log/ceph/radosgw.log
 
16
 # Turn off 100-continue optimization as stock mod_fastcgi
 
17
 # does not support it
 
18
 rgw print continue = false 
 
19
{% if auth_type == 'keystone' %}
 
20
 rgw keystone url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/
 
21
 rgw keystone admin token = {{ admin_token }}
 
22
 rgw keystone accepted roles = {{ user_roles }}
 
23
 rgw keystone token cache size = {{ cache_size }}
 
24
 rgw keystone revocation interval = {{ revocation_check_interval }}
 
25
#nss db path = /var/lib/ceph/nss
 
26
{% endif %}
 
 
b'\\ No newline at end of file'