Skip to content

Commit

Permalink
Merge pull request redhat-openstack#186 from czhujer/master
Browse files Browse the repository at this point in the history
Install virt package when using virt plugin on Redhat

closes redhat-openstack#184
  • Loading branch information
blkperl committed Oct 23, 2014
2 parents ebf9ae7 + dd7f921 commit 462b312
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/plugin/libvirt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
if $hostname_format != undef { validate_string($hostname_format) }
if $interface_format != undef { validate_string($interface_format) }

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

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

0 comments on commit 462b312

Please sign in to comment.