X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/39b9c1a936e80f900a7aa6013f9f44d1cb19f6d6..1528e2c8ce4d8471f8127d0f5d27a6c9dfd58261:/cookbooks/hardware/attributes/default.rb diff --git a/cookbooks/hardware/attributes/default.rb b/cookbooks/hardware/attributes/default.rb index bbe44348e..00886cc22 100644 --- a/cookbooks/hardware/attributes/default.rb +++ b/cookbooks/hardware/attributes/default.rb @@ -32,6 +32,10 @@ end if node[:kernel][:modules].include?("ipmi_si") default[:hardware][:modules] |= ["ipmi_devintf"] + + if node[:kernel][:modules].include?("acpi_power_meter") + default[:hardware][:modules] |= ["acpi_ipmi"] + end end if File.exist?("/proc/xen")