From 8b452d3030e8bae06065cfe3c7dfebfd3aeed334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Marcinkowski?= Date: Fri, 3 Jul 2015 13:15:13 +0200 Subject: [PATCH] fix multiple instances for curl_json --- manifests/plugin/curl_json.pp | 4 +--- metadata.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/manifests/plugin/curl_json.pp b/manifests/plugin/curl_json.pp index f571bb9c4..db7bf2c15 100644 --- a/manifests/plugin/curl_json.pp +++ b/manifests/plugin/curl_json.pp @@ -13,9 +13,7 @@ validate_hash($keys) if $::osfamily == 'Redhat' { - package { 'collectd-curl_json': - ensure => $ensure, - } + ensure_packages('collectd-curl_json') } $conf_dir = $collectd::params::plugin_conf_dir diff --git a/metadata.json b/metadata.json index 70eb423a5..a3510331f 100644 --- a/metadata.json +++ b/metadata.json @@ -79,7 +79,7 @@ "dependencies": [ { "name": "puppetlabs/stdlib", - "version_requirement": ">= 3.0.0" + "version_requirement": ">= 3.2.0" }, { "name": "puppetlabs/concat",