From 0be3a28b11a5bfce712bccb92562e5dec37b2466 Mon Sep 17 00:00:00 2001 From: Gil Brechbuhler Date: Mon, 3 Aug 2015 16:01:20 +0200 Subject: [PATCH] add option to not try to install collectd-iptables on centos 6 --- manifests/plugin/iptables.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/plugin/iptables.pp b/manifests/plugin/iptables.pp index 8e0dd76a0..6446c8f19 100644 --- a/manifests/plugin/iptables.pp +++ b/manifests/plugin/iptables.pp @@ -1,6 +1,7 @@ # https://collectd.org/wiki/index.php/Plugin:IPTables class collectd::plugin::iptables ( $ensure = present, + $ensure_package = present, $chains = {}, $interval = undef, ) { @@ -8,7 +9,7 @@ if $::osfamily == 'Redhat' { package { 'collectd-iptables': - ensure => $ensure, + ensure => $ensure_package, } }