default[:hardware][:modules] = %w[lp]
+default[:hardware][:blacklisted_modules] = %w[]
default[:hardware][:grub][:cmdline] = %w[nomodeset]
default[:hardware][:sensors] = {}
default[:hardware][:hwmon] = {}
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"
description "Role applied to all HP DL180 G6 machines"
default_attributes(
+ :hardware => {
+ :blacklisted_modules => %w[acpi_power_meter]
+ },
:munin => {
:plugins => {
:hpasmcli2_fans => {
description "Role applied to all HP DL360 G6 machines"
default_attributes(
+ :hardware => {
+ :blacklisted_modules => %w[acpi_power_meter]
+ },
:munin => {
:plugins => {
:hpasmcli2_fans => {