Skip to content

Commit

Permalink
plugin/amqp: 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 a68885e commit b8fb2bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/plugin/amqp.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@

validate_bool($amqppersistent)

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

collectd::plugin {'amqp':
ensure => $ensure,
content => template('collectd/plugin/amqp.conf.erb'),
Expand Down

0 comments on commit b8fb2bc

Please sign in to comment.