Skip to content

Commit

Permalink
plugin/write_riemann: 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 a334b6e commit 1c463e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/plugin/write_riemann.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
validate_bool($store_rates)
validate_bool($always_append_ds)

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

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

0 comments on commit 1c463e3

Please sign in to comment.