]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Permanently saves the ceph bootstrap_osd_key 151/head
authorWalter Huf <walter.huf@corvisa.com>
Tue, 16 Sep 2014 19:56:47 +0000 (14:56 -0500)
committerWalter Huf <walter.huf@corvisa.com>
Tue, 16 Sep 2014 19:56:47 +0000 (14:56 -0500)
recipes/mon.rb

index 76a5d9173c8d58e51dff9f3b3a920af809c4375d..f69e679cd1bbecee4f301b57e006f6463dc775be 100644 (file)
@@ -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'] }