Skip to content

Commit 2181dc4

Browse files
committed
Add collectd-apache package needed on RedHat
RedHat distros bundle apache plugin in a separate package (collectd-apache).
1 parent f08d58c commit 2181dc4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

manifests/plugin/apache.pp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
validate_hash($instances)
88

9+
if $::osfamily == 'RedHat' {
10+
package { 'collectd-apache':
11+
ensure => $ensure,
12+
}
13+
}
14+
915
collectd::plugin {'apache':
1016
ensure => $ensure,
1117
content => template('collectd/plugin/apache.conf.erb'),

0 commit comments

Comments
 (0)