From b8fb2bc58d27c5e13c55d323ec0a102a8ae597d9 Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Thu, 8 Jan 2015 21:46:42 -0600 Subject: [PATCH] plugin/amqp: add package for redhat systems --- manifests/plugin/amqp.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/plugin/amqp.pp b/manifests/plugin/amqp.pp index cf4d3f494..2609fd034 100644 --- a/manifests/plugin/amqp.pp +++ b/manifests/plugin/amqp.pp @@ -16,6 +16,12 @@ validate_bool($amqppersistent) + if $::osfamily == 'Redhat' { + package { 'collectd-amqp': + ensure => $ensure, + } + } + collectd::plugin {'amqp': ensure => $ensure, content => template('collectd/plugin/amqp.conf.erb'),