Skip to content

Commit

Permalink
plugin/write_http: 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 ec761d3 commit a334b6e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/plugin/write_http.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

validate_hash($urls)

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

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

0 comments on commit a334b6e

Please sign in to comment.