diff --git a/manifests/plugin/lvm.pp b/manifests/plugin/lvm.pp new file mode 100644 index 000000000..2b62aabc4 --- /dev/null +++ b/manifests/plugin/lvm.pp @@ -0,0 +1,17 @@ +# https://collectd.org/wiki/index.php/Plugin:LVM +class collectd::plugin::lvm ( + $ensure = present, + $interval = undef, +) { + + if $::osfamily == 'Redhat' { + package { 'collectd-lvm': + ensure => installed + } + } + + collectd::plugin {'lvm': + ensure => $ensure, + interval => $interval, + } +}