Skip to content
This repository was archived by the owner on Sep 29, 2020. It is now read-only.

Commit 8d89800

Browse files
committed
Merge pull request voxpupuli#303 from gibre/iptables_centos_inf_7
add option to not install collectd-iptables package
2 parents 1f11227 + 0be3a28 commit 8d89800

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/plugin/iptables.pp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# https://collectd.org/wiki/index.php/Plugin:IPTables
22
class collectd::plugin::iptables (
33
$ensure = present,
4+
$ensure_package = present,
45
$chains = {},
56
$interval = undef,
67
) {
78
validate_hash($chains)
89

910
if $::osfamily == 'Redhat' {
1011
package { 'collectd-iptables':
11-
ensure => $ensure,
12+
ensure => $ensure_package,
1213
}
1314
}
1415

0 commit comments

Comments
 (0)