]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Make ceph::osd recipe install gdisk for ceph-disk-prepare.
authorTommi Virtanen <tv@inktank.com>
Wed, 11 Jul 2012 17:07:19 +0000 (10:07 -0700)
committerTommi Virtanen <tv@inktank.com>
Wed, 11 Jul 2012 17:07:19 +0000 (10:07 -0700)
ceph.deb only recommends it, as there are ways of using Ceph without
using ceph-disk-prepare.

recipes/bootstrap_osd.rb

index 6905d72fe291aac5f2f3239df66fd6b36a7ebad6..9e7100ec84b65994813c46335c39fb54297f8c41 100644 (file)
@@ -3,6 +3,10 @@
 include_recipe "ceph::osd"
 include_recipe "ceph::conf"
 
+package 'gdisk' do
+  action :upgrade
+end
+
 if is_crowbar?
   mons = search(:node, "role:ceph-mon AND ceph_config_environment:#{node['ceph']['config']['environment']} AND ceph_bootstrap_osd_key:*")
 else