Merge pull request #219 from leseb/fix-rgw-socket

Fix Rados Gateway socket path
pull/218/head
Leseb 2015-03-02 10:57:53 +01:00
commit 4990a9abdb
5 changed files with 8 additions and 7 deletions

View File

@ -1,2 +0,0 @@
#!/bin/sh
exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway

View File

@ -136,8 +136,8 @@
- restart apache2
- name: Install s3gw.fcgi script
copy: >
src=s3gw.fcgi
template: >
src=s3gw.fcgi.j2
dest=/var/www/s3gw.fcgi
mode=0555
owner=root

View File

@ -47,8 +47,8 @@
mode=0644
- name: Install s3gw.fcgi script
copy: >
src=s3gw.fcgi
template: >
src=s3gw.fcgi.j2
dest=/var/www/s3gw.fcgi
mode=0555
owner=root

View File

@ -1,6 +1,6 @@
# {{ ansible_managed }}
FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.sock
FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw-{{ ansible_hostname }}.sock
<VirtualHost *:80>
ServerName {{ ansible_hostname }}
ServerAdmin {{ email_address }}@{{ ansible_fqdn }}

View File

@ -0,0 +1,3 @@
# {{ ansible_managed }}
#!/bin/sh
exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.{{ ansible_hostname }}