]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
ceph-mon-all-starter is a task, not a service
authorGuilhem Lettron <guilhem@lettron.fr>
Thu, 21 Mar 2013 09:47:11 +0000 (10:47 +0100)
committerGuilhem Lettron <guilhem@lettron.fr>
Mon, 29 Apr 2013 09:10:30 +0000 (11:10 +0200)
Ensure that ceph-mon-all is start at the end of recipe

recipes/mon.rb

index 5cd76de7b6937a763d2d52c4986d05c32fcf4153..f202c32d543156e9e0aa0019dbd6db5b48a45aad 100644 (file)
@@ -23,7 +23,7 @@ service_type = service_type()
 service "ceph_mon" do
   case service_type
   when "upstart"
-    service_name "ceph-mon-all-starter"
+    service_name "ceph-mon-all"
     provider Chef::Provider::Service::Upstart
     action :enable
   when "sysvinit"
@@ -33,7 +33,6 @@ service "ceph_mon" do
   supports :restart => true
 end
 
-
 # TODO cluster name
 cluster = 'ceph'
 
@@ -87,4 +86,3 @@ ruby_block "get osd-bootstrap keyring" do
     node.save
   end
 end
-