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'),