X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/240370ecf151a61a7b2fddbfc035d60ee9a11863..297f05f5840e832792b007fab67d399a9480326a:/cookbooks/hardware/recipes/default.rb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index b4986e70e..1418e7418 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -307,7 +307,7 @@ if status_packages["cciss-vol-status"] && File.exist?("/usr/sbin/cciss_vol_statu end end -if status_packages["megaclisas-status"] +if status_packages["megaclisas-status"] && File.exist?("/usr/sbin/megacli") controller = 0 Dir.glob("/sys/class/scsi_host/host*") do |host|