Merge pull request #65 from guestisp/add-support-for-subdomains-calls

Add support for subdomain calls in S3 api.
pull/67/head
Leseb 2014-04-07 13:29:17 +02:00
commit 05fdc19182
2 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,7 @@ mds: true # disable mds configuration in ceph.conf
radosgw: true
redhat_distro_ceph_extra: centos6.4 # supported distros are centos6.3, centos6.4, centos6, fedora18, fedora19, opensuse12.2, rhel6.3, rhel6.4, rhel6.5, rhel6, sles11sp2
radosgw_interface: eth1 # the public interface which the radosgw talks to the world with, this variable is used in the haproxy role, this does not need to be set if haproxy is not used.
#radosgw_dns_name: your.subdomain.tld # subdomains used by radosgw. See http://ceph.com/docs/master/radosgw/config/#enabling-subdomain-s3-calls
# OSD options
journal_size: 100

View File

@ -66,6 +66,9 @@
{% for host in groups['rgws'] %}
{% if hostvars[host]['ansible_hostname'] is defined %}
[client.radosgw.gateway]
{% if radosgw_dns_name is defined %}
rgw dns name = {{ radosgw_dns_name }}
{% endif %}
host = {{ hostvars[host]['ansible_hostname'] }}
keyring = /etc/ceph/keyring.radosgw.gateway
rgw socket path = /tmp/radosgw.sock