From 1c463e345164b177f222bc25bc0babfc4c443322 Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Thu, 8 Jan 2015 21:59:48 -0600 Subject: [PATCH] plugin/write_riemann: add package for redhat systems --- manifests/plugin/write_riemann.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/plugin/write_riemann.pp b/manifests/plugin/write_riemann.pp index 95dd7d969..b85b2c352 100644 --- a/manifests/plugin/write_riemann.pp +++ b/manifests/plugin/write_riemann.pp @@ -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'),