We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15e08d7 commit 55455d5Copy full SHA for 55455d5
chef/cookbooks/ceph/recipes/osd.rb
@@ -71,7 +71,7 @@
71
if is_crowbar?
72
dirty = false
73
74
- node.set["ceph"]["osd_devices"] ||= []
+ node.set["ceph"]["osd_devices"] = [] if node["ceph"]["osd_devices"].nil?
75
min_size_blocks = node["ceph"]["osd"]["min_size_gb"] * 1024 * 1024 * 2
76
unclaimed_disks = BarclampLibrary::Barclamp::Inventory::Disk.unclaimed(node).sort.select { |d| d.size >= min_size_blocks }
77
0 commit comments