Files
charm-ceph-radosgw/templates/ceph.conf
Edward Hope-Morley 9194bbc2f6 [hopem,r=]
Make RGW port configurable.
Closes-Bug: 1517551
2015-11-25 11:09:14 +00:00

35 lines
1.1 KiB
Plaintext

[global]
{% if old_auth %}
auth supported = {{ auth_supported }}
{% else %}
auth cluster required = {{ auth_supported }}
auth service required = {{ auth_supported }}
auth client required = {{ auth_supported }}
{% endif %}
mon host = {{ mon_hosts }}
log to syslog = {{ use_syslog }}
err to syslog = {{ use_syslog }}
clog to syslog = {{ use_syslog }}
[client.radosgw.gateway]
host = {{ hostname }}
keyring = /etc/ceph/keyring.rados.gateway
rgw socket path = /tmp/radosgw.sock
log file = /var/log/ceph/radosgw.log
{% if embedded_webserver %}
rgw frontends = civetweb port={{ port }}
{% else %}
# Turn off 100-continue optimization as stock mod_fastcgi
# does not support it
rgw print continue = false
{% endif %}
{% if auth_type == 'keystone' %}
rgw keystone url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/
rgw keystone admin token = {{ admin_token }}
rgw keystone accepted roles = {{ user_roles }}
rgw keystone token cache size = {{ cache_size }}
rgw keystone revocation interval = {{ revocation_check_interval }}
rgw s3 auth use keystone = true
#nss db path = /var/lib/ceph/nss
{% endif %}