From: Julien Cristau Date: Tue, 10 Dec 2019 11:05:15 +0000 (+0100) Subject: lint fixes for the linux module X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=refs%2Fheads%2Fsalsa lint fixes for the linux module --- diff --git a/modules/linux/manifests/init.pp b/modules/linux/manifests/init.pp index 967b4a79a..d5a7a3e24 100644 --- a/modules/linux/manifests/init.pp +++ b/modules/linux/manifests/init.pp @@ -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' + } + } }