Skip to content

Commit

Permalink
Fix collectd::plugin::write_http for RedHat
Browse files Browse the repository at this point in the history
This change reverts commit a334b6e and closes issue redhat-openstack#251. The main RPM
repositories (eg, Fedora and EPEL) don't ship the collectd-write_http
package (instead the plugin is included in the core collectd package).
In case the collectd-write_http needs to be installed, it can be done
outside of the collectd manifests.
  • Loading branch information
Simon Pasquier committed Jun 16, 2015
1 parent 27c81f6 commit cff8b95
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions manifests/plugin/write_http.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@

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 cff8b95

Please sign in to comment.