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 - restart apache2
- name: Install s3gw.fcgi script - name: Install s3gw.fcgi script
copy: > template: >
src=s3gw.fcgi src=s3gw.fcgi.j2
dest=/var/www/s3gw.fcgi dest=/var/www/s3gw.fcgi
mode=0555 mode=0555
owner=root owner=root

View File

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

View File

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