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

Commit

Permalink
Merge pull request voxpupuli#303 from gibre/iptables_centos_inf_7
Browse files Browse the repository at this point in the history
add option to not install collectd-iptables package
  • Loading branch information
blkperl committed Aug 3, 2015
2 parents 1f11227 + 0be3a28 commit 8d89800
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/plugin/iptables.pp
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# https://collectd.org/wiki/index.php/Plugin:IPTables
class collectd::plugin::iptables (
$ensure = present,
$ensure_package = present,
$chains = {},
$interval = undef,
) {
validate_hash($chains)

if $::osfamily == 'Redhat' {
package { 'collectd-iptables':
ensure => $ensure,
ensure => $ensure_package,
}
}

Expand Down

0 comments on commit 8d89800

Please sign in to comment.