From: Greg Farnum Date: Tue, 28 Aug 2012 22:41:54 +0000 (-0700) Subject: don't run search when getting nodes -- it updates too slowly X-Git-Tag: eval1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0bed1a583ca0b1ffb9d4b35f64eb47933ceda9cc;p=ceph-cookbooks.git don't run search when getting nodes -- it updates too slowly --- diff --git a/recipes/bootstrap_osd.rb b/recipes/bootstrap_osd.rb index ec1e3e3..5b3ffc5 100644 --- a/recipes/bootstrap_osd.rb +++ b/recipes/bootstrap_osd.rb @@ -7,7 +7,7 @@ package 'gdisk' do action :upgrade end -mons = get_mon_nodes("ceph_bootstrap_osd_key:*") +mons = get_mon_nodes() if mons.empty? then puts "No ceph-mon found."