From 60500e34550eaada1c4dd3315566e90cac8fd702 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Tue, 10 Dec 2019 12:05:15 +0100 Subject: [PATCH] lint fixes for the linux module --- modules/linux/manifests/init.pp | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) 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' + } + } } -- 2.20.1