X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/4b7aea286bd82cf0c86e92319742c31bad356b8d..297f05f5840e832792b007fab67d399a9480326a:/cookbooks/hardware/attributes/default.rb diff --git a/cookbooks/hardware/attributes/default.rb b/cookbooks/hardware/attributes/default.rb index b558f9d8e..f80e6a528 100644 --- a/cookbooks/hardware/attributes/default.rb +++ b/cookbooks/hardware/attributes/default.rb @@ -23,7 +23,7 @@ if Chef::Util.compare_versions(node[:kernel][:release], [3, 3]) < 0 end if node[:kernel] && node[:kernel][:modules] - raidmods = node[:kernel][:modules].keys & %w(cciss hpsa mptsas mpt2sas megaraid_mm megaraid_sas aacraid) + raidmods = node[:kernel][:modules].keys & %w(cciss hpsa mptsas mpt2sas mpt3sas megaraid_mm megaraid_sas aacraid) unless raidmods.empty? default[:apt][:sources] |= ["hwraid"]