]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Blacklist acpi_power_meter on G6 machines
[chef.git] / cookbooks / hardware / recipes / default.rb
index 633edcb19cd2f1b74a53d5ca419a9a62256920c0..7736cd507c7aa6a34a6bcfa9cc84a47768a11948 100644 (file)
@@ -550,6 +550,12 @@ node[:hardware][:modules].each do |module_name|
   end
 end
 
+node[:hardware][:blacklisted_modules].each do |module_name|
+  kernel_module module_name do
+    action :blacklist
+  end
+end
+
 if node[:hardware][:watchdog]
   package "watchdog"