Skip to content

Commit

Permalink
plugin/nginx: 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 e17fd8a commit a5340e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/plugin/nginx.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
$interval = undef,
) {

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

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

0 comments on commit a5340e5

Please sign in to comment.