From: Tommi Virtanen Date: Tue, 14 Aug 2012 20:13:21 +0000 (-0700) Subject: Clean up unused variable. X-Git-Tag: rebased^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3f3c7adbfb00eb5dd00ace0bb34fa44be33c2043;p=ceph-cookbooks.git Clean up unused variable. --- diff --git a/recipes/osd.rb b/recipes/osd.rb index 90d2cca..c4767ba 100644 --- a/recipes/osd.rb +++ b/recipes/osd.rb @@ -63,9 +63,7 @@ else block do do_trigger = false node["crowbar"]["disks"].each do |disk, data| - use = true - - if node["crowbar"]["disks"][disk]["usage"] == "Storage" and use == true + if node["crowbar"]["disks"][disk]["usage"] == "Storage" puts "Disk: #{disk} should be used for ceph" system 'ceph-disk-prepare', \