]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Use Mixlib::ShellOut instead of Chef::ShellOut 22/head
authorGuilhem Lettron <guilhem@lettron.fr>
Mon, 29 Apr 2013 12:29:23 +0000 (14:29 +0200)
committerGuilhem Lettron <guilhem@lettron.fr>
Thu, 2 May 2013 09:09:00 +0000 (11:09 +0200)
recipes/mon.rb

index 3fb407edfcd10038cc8454b19ea53900537498ab..197cd72d6a7177db226fafffbe70cdb8b810775a 100644 (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