]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Fix radosgw
authorGuilhem Lettron <guilhem.lettron@optiflows.com>
Fri, 16 May 2014 17:07:03 +0000 (19:07 +0200)
committerGuilhem Lettron <guilhem.lettron@optiflows.com>
Fri, 16 May 2014 17:07:03 +0000 (19:07 +0200)
recipes/radosgw_apache2.rb
recipes/radosgw_apache2_repo.rb

index 9f23e51ae0d4bc0e825fe4eacc67fe703d74aae1..d060606877bb9c558e861ec2c65eeb458652b745 100644 (file)
@@ -41,6 +41,8 @@
 #   end
 # end
 
+directory "/var/lib/ceph/radosgw/ceph-radosgw.#{node['hostname']}"
+
 include_recipe 'ceph::_common'
 include_recipe 'ceph::_common_install'
 include_recipe 'ceph::radosgw_apache2_repo'
index df5cf3f5619a99a468f1dd29e0f6c07d58141ad9..74b61e251a5b979e23b51815e6c221c5afeb0724 100644 (file)
@@ -4,14 +4,14 @@ if node['ceph']['radosgw']['use_apache_fork'] == true
     apt_repository 'ceph-apache2' do
       repo_name 'ceph-apache2'
       uri "http://gitbuilder.ceph.com/apache2-deb-#{node['lsb']['codename']}-x86_64-basic/ref/master"
-      distribution distribution_codename
+      distribution node['lsb']['codename']
       components ['main']
       key 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc'
     end
     apt_repository 'ceph-modfastcgi' do
       repo_name 'ceph-modfastcgi'
       uri "http://gitbuilder.ceph.com/libapache-mod-fastcgi-deb-#{node['lsb']['codename']}-x86_64-basic/ref/master"
-      distribution distribution_codename
+      distribution node['lsb']['codename']
       components ['main']
       key 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc'
     end