diff --git a/manifests/plugin/mysql.pp b/manifests/plugin/mysql.pp index 8830123f5..4dcd03895 100644 --- a/manifests/plugin/mysql.pp +++ b/manifests/plugin/mysql.pp @@ -3,6 +3,13 @@ class collectd::plugin::mysql ( $interval = undef, ){ + + if $::osfamily == 'Redhat' { + package { 'collectd-mysql': + ensure => $ensure, + } + } + collectd::plugin { 'mysql': interval => $interval, }