Skip to content

Commit

Permalink
added lvm plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sijis committed Dec 29, 2014
1 parent 71c281f commit 97cc610
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions manifests/plugin/lvm.pp
Original file line number Diff line number Diff line change
@@ -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,
}
}

0 comments on commit 97cc610

Please sign in to comment.