Skip to content

Commit

Permalink
plugin/mysql: add package for redhat systems
Browse files Browse the repository at this point in the history
  • Loading branch information
sijis committed Jan 9, 2015
1 parent 094fe12 commit e17fd8a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/plugin/mysql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
class collectd::plugin::mysql (
$interval = undef,
){

if $::osfamily == 'Redhat' {
package { 'collectd-mysql':
ensure => $ensure,
}
}

collectd::plugin { 'mysql':
interval => $interval,
}
Expand Down

0 comments on commit e17fd8a

Please sign in to comment.