Skip to content

Commit

Permalink
plugin/sensors: 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 7ffa8db commit e9f8110
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/plugin/sensors.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
$interval = undef,
) {

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

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

0 comments on commit e9f8110

Please sign in to comment.