X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/472282097a4de1cba8ab7e52a3da644e752e723b..c784b570ae5193b222866d410ddd24b90547bed7:/cookbooks/hardware/templates/default/ohai.rb.erb diff --git a/cookbooks/hardware/templates/default/ohai.rb.erb b/cookbooks/hardware/templates/default/ohai.rb.erb index a2eb0ef96..1ca3089b7 100644 --- a/cookbooks/hardware/templates/default/ohai.rb.erb +++ b/cookbooks/hardware/templates/default/ohai.rb.erb @@ -155,7 +155,7 @@ Ohai.plugin(:Hardware) do find_adaptec_disks(disk) if File.exist?("/usr/sbin/arcconf") find_areca_disks(disk) if File.exist?("/opt/areca/x86_64/cli64") - find_md_arrays(disk) + find_md_arrays(disk) if File.exist?("/prod/mdstat") disk[:disks].each do |disk| if disk[:vendor] =~ /^(BTWA|CVPR|PHDV)/ && disk[:model] == "INTEL"