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, } }