Use Mixlib::ShellOut instead of Chef::ShellOut

This commit is contained in:
Guilhem Lettron 2013-04-29 14:29:23 +02:00
parent e1c3f6b4c1
commit f5b89fe5b8

View File

@ -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