Remove leading whitespace from templates/ceph.conf
(ConfigParser can't parse)
This commit is contained in:
parent
cea53461c8
commit
9504dd6c08
@ -1,29 +1,29 @@
|
|||||||
[global]
|
[global]
|
||||||
{% if old_auth %}
|
{% if old_auth %}
|
||||||
auth supported = {{ auth_supported }}
|
auth supported = {{ auth_supported }}
|
||||||
{% else %}
|
{% else %}
|
||||||
auth cluster required = {{ auth_supported }}
|
auth cluster required = {{ auth_supported }}
|
||||||
auth service required = {{ auth_supported }}
|
auth service required = {{ auth_supported }}
|
||||||
auth client required = {{ auth_supported }}
|
auth client required = {{ auth_supported }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
mon host = {{ mon_hosts }}
|
mon host = {{ mon_hosts }}
|
||||||
log to syslog = {{ use_syslog }}
|
log to syslog = {{ use_syslog }}
|
||||||
err to syslog = {{ use_syslog }}
|
err to syslog = {{ use_syslog }}
|
||||||
clog to syslog = {{ use_syslog }}
|
clog to syslog = {{ use_syslog }}
|
||||||
|
|
||||||
[client.radosgw.gateway]
|
[client.radosgw.gateway]
|
||||||
host = {{ hostname }}
|
host = {{ hostname }}
|
||||||
keyring = /etc/ceph/keyring.rados.gateway
|
keyring = /etc/ceph/keyring.rados.gateway
|
||||||
rgw socket path = /tmp/radosgw.sock
|
rgw socket path = /tmp/radosgw.sock
|
||||||
log file = /var/log/ceph/radosgw.log
|
log file = /var/log/ceph/radosgw.log
|
||||||
# Turn off 100-continue optimization as stock mod_fastcgi
|
# Turn off 100-continue optimization as stock mod_fastcgi
|
||||||
# does not support it
|
# does not support it
|
||||||
rgw print continue = false
|
rgw print continue = false
|
||||||
{% if auth_type == 'keystone' %}
|
{% if auth_type == 'keystone' %}
|
||||||
rgw keystone url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/
|
rgw keystone url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/
|
||||||
rgw keystone admin token = {{ admin_token }}
|
rgw keystone admin token = {{ admin_token }}
|
||||||
rgw keystone accepted roles = {{ user_roles }}
|
rgw keystone accepted roles = {{ user_roles }}
|
||||||
rgw keystone token cache size = {{ cache_size }}
|
rgw keystone token cache size = {{ cache_size }}
|
||||||
rgw keystone revocation interval = {{ revocation_check_interval }}
|
rgw keystone revocation interval = {{ revocation_check_interval }}
|
||||||
#nss db path = /var/lib/ceph/nss
|
#nss db path = /var/lib/ceph/nss
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user