From: Walter Huf Date: Tue, 16 Sep 2014 19:56:47 +0000 (-0500) Subject: Permanently saves the ceph bootstrap_osd_key X-Git-Tag: v0.8.0~20^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d22d9eafb9871429709fda27bbd3560d77746243;p=ceph-cookbooks.git Permanently saves the ceph bootstrap_osd_key --- diff --git a/recipes/mon.rb b/recipes/mon.rb index 76a5d91..f69e679 100644 --- a/recipes/mon.rb +++ b/recipes/mon.rb @@ -122,7 +122,7 @@ if use_cephx? && !node['ceph']['encrypted_data_bags'] 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 + node.set['ceph']['bootstrap_osd_key'] = run_out node.save end not_if { node['ceph']['bootstrap_osd_key'] }