From ce656cebe5e16e1b32430f3cac4d53fd33f8a77d Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Thu, 16 Apr 2015 15:15:15 +0200 Subject: [PATCH] Fix collectd::plugin::write_http for RedHat This change reverts commit a334b6e and closes issue #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. --- manifests/plugin/write_http.pp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/manifests/plugin/write_http.pp b/manifests/plugin/write_http.pp index cfa5e7942..3497071bf 100644 --- a/manifests/plugin/write_http.pp +++ b/manifests/plugin/write_http.pp @@ -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'),