From: Guilhem Lettron Date: Mon, 29 Apr 2013 12:29:23 +0000 (+0200) Subject: Use Mixlib::ShellOut instead of Chef::ShellOut X-Git-Tag: v0.2.0~31^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f5b89fe5b81d9a201c8d5301132ca6084c21ce96;p=ceph-cookbooks.git Use Mixlib::ShellOut instead of Chef::ShellOut --- diff --git a/recipes/mon.rb b/recipes/mon.rb index 3fb407e..197cd72 100644 --- a/recipes/mon.rb +++ b/recipes/mon.rb @@ -97,7 +97,7 @@ ruby_block "get osd-bootstrap keyring" do block do run_out = "" while run_out.empty? - run_out = Chef::ShellOut.new("ceph auth get-key client.bootstrap-osd").run_command.stdout.strip + run_out = Mixlib::ShellOut.new("ceph auth get-key client.bootstrap-osd").run_command.stdout.strip sleep 2 end node.override['ceph']['bootstrap_osd_key'] = run_out