From a5340e5ed3de48144010c7e4f8b18fbe80fedef9 Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Thu, 8 Jan 2015 21:53:14 -0600 Subject: [PATCH] plugin/nginx: add package for redhat systems --- manifests/plugin/nginx.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/plugin/nginx.pp b/manifests/plugin/nginx.pp index cb0fbdc70..b553f0b23 100644 --- a/manifests/plugin/nginx.pp +++ b/manifests/plugin/nginx.pp @@ -10,6 +10,12 @@ $interval = undef, ) { + if $::osfamily == 'Redhat' { + package { 'collectd-nginx': + ensure => $ensure, + } + } + collectd::plugin {'nginx': ensure => $ensure, content => template('collectd/plugin/nginx.conf.erb'),