From 4a2c8b906e7ac686b69ebb62f2907214ad3337bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20Suchomel?= Date: Thu, 25 Sep 2014 17:01:04 +0200 Subject: [PATCH] service_type file not limited to ubuntu --- recipes/mon.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes/mon.rb b/recipes/mon.rb index d98c7b5..2a7ccb3 100644 --- a/recipes/mon.rb +++ b/recipes/mon.rb @@ -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' -- 2.47.3