]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Creates the radosgw sentinel directory differently 129/head
authorWalter Huf <walter.huf@corvisa.com>
Wed, 28 May 2014 20:55:22 +0000 (15:55 -0500)
committerWalter Huf <walter.huf@corvisa.com>
Wed, 28 May 2014 20:55:22 +0000 (15:55 -0500)
Instead of relying on the radosgw_apache recipe,
just make it in the main radosgw recipe

recipes/radosgw.rb
recipes/radosgw_apache2.rb

index 7fb59032b7975036ffc31846a7608c472bd6b618..f533d1891d8aeaa13594611977c6d816349690dd 100644 (file)
@@ -32,6 +32,10 @@ if !::File.exist?("/var/lib/ceph/radosgw/ceph-radosgw.#{node['hostname']}/done")
     caps('mon' => 'allow rw', 'osd' => 'allow rwx')
   end
 
+  directory "/var/lib/ceph/radosgw/ceph-radosgw.#{node['hostname']}" do
+    recursive true
+  end
+
   file "/var/lib/ceph/radosgw/ceph-radosgw.#{node['hostname']}/done" do
     action :create
   end
index d060606877bb9c558e861ec2c65eeb458652b745..9f23e51ae0d4bc0e825fe4eacc67fe703d74aae1 100644 (file)
@@ -41,8 +41,6 @@
 #   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'