From d13b812a4c971067a1816f063a0a3f1d0da3db44 Mon Sep 17 00:00:00 2001 From: Tom De Vylder Date: Wed, 17 Dec 2014 12:40:14 +0100 Subject: [PATCH] Lintian fixes --- manifests/plugin/curl_json.pp | 2 +- manifests/plugin/sensors.pp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manifests/plugin/curl_json.pp b/manifests/plugin/curl_json.pp index 79e82cfce..6eb6861ba 100644 --- a/manifests/plugin/curl_json.pp +++ b/manifests/plugin/curl_json.pp @@ -15,8 +15,8 @@ # This is deprecated file naming ensuring old style file removed, and should be removed in next major relese file { "${name}.load-deprecated": - path => "${conf_dir}/${name}.conf", ensure => absent, + path => "${conf_dir}/${name}.conf", } # End deprecation diff --git a/manifests/plugin/sensors.pp b/manifests/plugin/sensors.pp index b2ff334eb..acc4f31fe 100644 --- a/manifests/plugin/sensors.pp +++ b/manifests/plugin/sensors.pp @@ -1,9 +1,10 @@ +# https://collectd.org/wiki/index.php/Plugin:Sensors class collectd::plugin::sensors ( + $ensure = present, $sensorconfigfile = undef, $sensor = undef, $ignoreselected = undef, $interval = undef, - $ensure = present ) { collectd::plugin {'sensors':