From 5361cc4d49e00e5279939f4282131f77b5ac3c7b Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Mar 19 2013 13:33:15 +0000 Subject: Require virt-what for improved KVM detection (#905592) Prior to 1.6.14, facter did not reliably return when a host was running under KVM (and RHEV). The upstream fix depends on the virt-what utility. This is a small shell script with no dependencies other than dmidecode, which we already require. --- diff --git a/facter.spec b/facter.spec index 786f1a5..5f1efe4 100644 --- a/facter.spec +++ b/facter.spec @@ -39,6 +39,7 @@ BuildRequires: rubygem(rspec) %ifarch %ix86 x86_64 ia64 Requires: dmidecode Requires: pciutils +Requires: virt-what %endif Requires: net-tools # Work around the lack of ruby in the default mock buildroot @@ -106,6 +107,7 @@ rspec spec * Mon Mar 18 2013 Todd Zullinger - 1.6.18-1 - Update to 1.6.18 - Restart puppet in %%postun (#806370) +- Require virt-what for improved KVM detection (#905592) * Tue Mar 12 2013 Vít Ondruch - 1.6.17-2 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0