]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
service_type file not limited to ubuntu 159/head
authorJiří Suchomel <jsuchome@suse.cz>
Thu, 25 Sep 2014 15:01:04 +0000 (17:01 +0200)
committerJiří Suchomel <jsuchome@suse.cz>
Thu, 25 Sep 2014 15:01:04 +0000 (17:01 +0200)
recipes/mon.rb

index d98c7b5498241bc06b1c290b469e60208220124d..2a7ccb35aa0dcd08e2a9a8124d69a7a777f5fafc 100644 (file)
@@ -71,14 +71,12 @@ execute 'ceph-mon mkfs' do
   command "ceph-mon --mkfs -i #{node['hostname']} --keyring '#{keyring}'"
 end
 
-# needed only by https://github.com/ceph/ceph/blob/master/src/upstart/ceph-mon-all-starter.conf
 ruby_block 'finalise' do
   block do
     ['done', service_type].each do |ack|
       ::File.open("/var/lib/ceph/mon/ceph-#{node['hostname']}/#{ack}", 'w').close
     end
   end
-  only_if { node['platform'] == 'ubuntu' }
 end
 
 if service_type == 'upstart'