From dd7f921458e2e35dcc754cd2a9b21364a966d89a Mon Sep 17 00:00:00 2001 From: Patrik Majer Date: Mon, 20 Oct 2014 10:33:53 +0200 Subject: [PATCH] add missing package --- manifests/plugin/libvirt.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/plugin/libvirt.pp b/manifests/plugin/libvirt.pp index 9b28f94a5..88c2f945e 100644 --- a/manifests/plugin/libvirt.pp +++ b/manifests/plugin/libvirt.pp @@ -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'),