Add sallinen to blacklist_acpi_power_meter list
[mirror/dsa-puppet.git] / modules / linux / manifests / init.pp
index 8977b1b..97cc643 100644 (file)
@@ -1,5 +1,14 @@
 class linux {
        include ferm
-       include ferm::per-host
+       include ferm::per_host
        include entropykey
+       include rng_tools
+       if $::hostname in [fasolo, klecker, mirror-conova, storace, sallinen] {
+               $blacklist_acpi_power_meter = true
+       }
+       if $blacklist_acpi_power_meter {
+               file { '/etc/modprobe.d/hwmon.conf':
+                       content => "blacklist acpi_power_meter"
+               }
+       }
 }