lint fixes for the linux module salsa
authorJulien Cristau <jcristau@debian.org>
Tue, 10 Dec 2019 11:05:15 +0000 (12:05 +0100)
committerJulien Cristau <jcristau@debian.org>
Tue, 10 Dec 2019 11:05:46 +0000 (12:05 +0100)
modules/linux/manifests/init.pp

index 967b4a7..d5a7a3e 100644 (file)
@@ -1,14 +1,15 @@
+# common bits for all linux hosts
 class linux {
-       include ferm
-       include ferm::per_host
-       include entropykey
-       include rng_tools
-       if $::hostname in [fasolo, storace, sallinen, csail-node01, csail-node02] {
-               $blacklist_acpi_power_meter = true
-       }
-       if $blacklist_acpi_power_meter {
-               file { '/etc/modprobe.d/hwmon.conf':
-                       content => "blacklist acpi_power_meter"
-               }
-       }
+  include ferm
+  include ferm::per_host
+  include entropykey
+  include rng_tools
+  if $::hostname in [fasolo, storace, sallinen, csail-node01, csail-node02] {
+    $blacklist_acpi_power_meter = true
+  }
+  if $blacklist_acpi_power_meter {
+    file { '/etc/modprobe.d/hwmon.conf':
+      content => 'blacklist acpi_power_meter'
+    }
+  }
 }