Skip to content

Commit

Permalink
plugin/snmp: add package for redhat systems
Browse files Browse the repository at this point in the history
  • Loading branch information
sijis committed Jan 9, 2015
1 parent e9f8110 commit ec761d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/plugin/snmp.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
) {
validate_hash($data, $hosts)

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

collectd::plugin {'snmp':
ensure => $ensure,
content => template('collectd/plugin/snmp.conf.erb'),
Expand Down

0 comments on commit ec761d3

Please sign in to comment.