Skip to content

Commit

Permalink
Merge pull request redhat-openstack#190 from dedded/apache-fix
Browse files Browse the repository at this point in the history
Add collectd-apache package needed on RedHat
  • Loading branch information
blkperl committed Nov 4, 2014
2 parents f08d58c + 2181dc4 commit 68b7b13
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/plugin/apache.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

validate_hash($instances)

if $::osfamily == 'RedHat' {
package { 'collectd-apache':
ensure => $ensure,
}
}

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

0 comments on commit 68b7b13

Please sign in to comment.