From ca26ce801ac30dc1bc2935982372e5d520795a46 Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Thu, 8 Jan 2015 21:47:08 -0600 Subject: [PATCH] plugin/curl: add package for redhat systems --- manifests/plugin/curl.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifests/plugin/curl.pp b/manifests/plugin/curl.pp index da577ad61..cba5a5dfa 100644 --- a/manifests/plugin/curl.pp +++ b/manifests/plugin/curl.pp @@ -4,6 +4,13 @@ $interval = undef, $pages = { }, ) { + + if $::osfamily == 'Redhat' { + package { 'collectd-curl': + ensure => $ensure, + } + } + collectd::plugin {'curl': ensure => $ensure, interval => $interval,