debian/0000775000000000000000000000000012300705245007166 5ustar debian/copyright0000664000000000000000000001006012300703651011115 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: * Copyright: 2011-2012 Puppet Labs Inc 2007 Mark 'phips' Phillips 2007 Jeff McCune 2007 David Schmitt 2006 Mooter Media Ltd License: Apache-2.0 See /usr/share/common-licenses/Apache-2.0 Files: lib/facter/util/cfpropertylist/* Copyright: 2010 Christian Kruse, License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: install.rb Copyright: 2004 Austin Ziegler License: GPL-2+ or Ruby License: GPL-2+ See /usr/share/common-licenses/GPL-2 License: Ruby 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. . c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or executable form, provided that you do at least ONE of the following: . a) distribute the executables and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. . b) accompany the distribution with the machine-readable source of the software. . c) give non-standard executables non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under this terms. . They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some files under the ./missing directory. See each file for the copying condition. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. debian/rules0000775000000000000000000000035712300703651010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # export DH_VERBOSE=1 # export DH_RUBY_IGNORE_TESTS=all %: dh $@ override_dh_auto_install: ./install.rb --destdir=debian/facter --quick --sitelibdir=/usr/lib/ruby/vendor_ruby --ruby=/usr/bin/ruby debian/NEWS0000664000000000000000000000053312300703651007665 0ustar facter (1.5.8-1) experimental; urgency=low When upgrading facter from 1.5.1 (the version in "lenny") or any previous version, a running puppet instance will stop working due to API changes in facter. If you have a running puppetd instance, it must be restarted. -- Stig Sandbeck Mathisen Wed, 01 Dec 2010 16:05:08 +0100 debian/source/0000775000000000000000000000000012300703651010465 5ustar debian/source/format0000664000000000000000000000001412300703651011673 0ustar 3.0 (quilt) debian/docs0000664000000000000000000000001212300703651010031 0ustar README.md debian/watch0000664000000000000000000000017512300703651010221 0ustar version=3 opts=uversionmangle=s{(.*(?:alpha|beta|rc).*)}{~$1} \ http://downloads.puppetlabs.com/facter/facter-(\S+)\.tar\.gz debian/tests/0000775000000000000000000000000012300704711010325 5ustar debian/tests/control0000664000000000000000000000001512300704711011724 0ustar Tests: smoke debian/tests/smoke0000664000000000000000000000025012300704711011363 0ustar #!/bin/sh set -e result=`facter osfamily` if [ "$result" != Debian ]; then echo "\"facter osfamily\" returned \"$result\" instead of \"Debian\"" >&2 exit 1 fi debian/changelog0000600000000000000000000004157712300705245011044 0ustar facter (1.7.5-1ubuntu1) trusty; urgency=medium * Merge from Debian unstable. Remaining changes: - d/control: virt-what is not in main, so move Depends to Suggests. - d/control, d/tests: add dep8 smoke test. - d/p/kvm-cpuinfo: detect "Common KVM processor" in /proc/cpuinfo as virtual (LP: #1170325). -- Robie Basak Tue, 18 Feb 2014 16:30:29 +0000 facter (1.7.5-1) unstable; urgency=medium * Imported upstream release 1.7.5 * Drop "require rubygems" patch -- Stig Sandbeck Mathisen Mon, 10 Feb 2014 23:20:30 +0100 facter (1.7.3-1ubuntu1) trusty; urgency=medium * Merge from Debian unstable. Remaining changes: - d/control: virt-what is not in main, so move Depends to Suggests. - d/control, d/tests: add dep8 smoke test. - d/p/kvm-cpuinfo: detect "Common KVM processor" in /proc/cpuinfo as virtual (LP: #1170325). -- Robie Basak Tue, 21 Jan 2014 14:36:17 +0000 facter (1.7.3-1) unstable; urgency=low * Imported upstream version 1.7.3 * Bump standards version (no changes) * Update copyright format URI -- Stig Sandbeck Mathisen Mon, 04 Nov 2013 15:57:00 +0100 facter (1.7.2-1ubuntu1) trusty; urgency=low * Merge from Debian unstable (LP: #1246416). Remaining changes: - d/control: virt-what is not in main, so move Depends to Suggests. - d/control, d/tests: add dep8 smoke test. - d/p/kvm-cpuinfo: detect "Common KVM processor" in /proc/cpuinfo as virtual (LP: #1170325). * Move ruby-json back to Depends (dropping the delta with debian) as it is now in main. -- Andres Rodriguez Wed, 30 Oct 2013 13:22:31 -0400 facter (1.7.2-1) unstable; urgency=low * Imported upstream version 1.7.2 -- Stig Sandbeck Mathisen Sun, 01 Sep 2013 13:03:51 +0200 facter (1.7.0-1ubuntu1) saucy; urgency=low * Merge from Debian unstable (LP: #1173265). Remaining changes: - debian/control: ruby-json is not in main, so move Depends to Suggests. * Dropped changes: - gem2deb and ruby-pkg-tools are now in main: + use what we had in natty; we don't want ruby-pkg-tools in main. (LP: #408402) + Continue using ruby + libopenssl-ruby as Build-Depends even tho Debian has moved to gem2deb (not in main). - No longer necessary: + Use dh_prep instead of dh_clean, add build-arch + build-indep targets - Debian packaging now supports multiple Ruby versions: + Make binary package depend on ruby1.8 explicitly - Applied in Debian: + debian/patches/ubuntu_xen_print_virtual.patch: correctly detect xen0,xenu. (LP: #980291) * d/control: virt-what is not in main, so move Depends to Suggests. * d/control, d/tests: add dep8 smoke test. * d/p/kvm-cpuinfo: detect "Common KVM processor" in /proc/cpuinfo as virtual (LP: #1170325). -- Robie Basak Mon, 20 May 2013 14:09:11 +0000 facter (1.7.0-1) unstable; urgency=low [ Micah Anderson ] * fix xen0/xenu detection (Closes: #682417) [ Stig Sandbeck Mathisen ] * New upstream release * Recommend virt-what for virtualization detection * Update copyright information -- Stig Sandbeck Mathisen Sun, 05 May 2013 18:36:25 +0200 facter (1.6.10-1) unstable; urgency=low * New upstream release * Remove upstream LSB patch included in this release -- Stig Sandbeck Mathisen Sun, 24 Jun 2012 13:01:40 +0200 facter (1.6.9-2ubuntu1) quantal; urgency=low * Merge from Debian unstable (LP: #1007560). Remaining changes: - debian/rules: + use what we had in natty; we don't want ruby-pkg-tools in main. (LP: #408402) + Use dh_prep instead of dh_clean, add build-arch + build-indep targets - debian/control: + Continue using ruby + libopenssl-ruby as Build-Depends even tho Debian has moved to gem2deb (not in main). Move ruby-json to Suggests. + Make binary package depend on ruby1.8 explicitly * debian/patches/ubuntu_xen_print_virtual.patch: correctly detect xen0,xenu. (LP: #980291) -- Andres Rodriguez Fri, 01 Jun 2012 14:51:28 -0400 facter (1.6.9-2) unstable; urgency=medium * Add patch from upstream (b050eb1) to ignore LSB noise -- Micah Anderson Wed, 30 May 2012 11:26:27 -0400 facter (1.6.9-1) unstable; urgency=low * New upstream release -- Stig Sandbeck Mathisen Fri, 18 May 2012 15:42:48 +0200 facter (1.6.8-1) unstable; urgency=low * Imported Upstream version 1.6.8 -- Stig Sandbeck Mathisen Tue, 01 May 2012 18:16:20 +0200 facter (1.6.7-1) unstable; urgency=low * Imported Upstream version 1.6.7 * Bump standards version (no changes) -- Stig Sandbeck Mathisen Fri, 30 Mar 2012 22:47:22 +0200 facter (1.6.6-1) unstable; urgency=low * New upstream release -- Stig Sandbeck Mathisen Mon, 27 Feb 2012 16:45:49 +0100 facter (1.6.5-1ubuntu1) precise; urgency=low * Merge from Debian testing. Remaining changes: - debian/rules: use what we had in natty; we don't want ruby-pkg-tools in main. (LP: #408402) - debian/control: Continue using ruby + libopenssl-ruby as Build-Depends even tho Debian has moved to gem2deb (not in main). Move ruby-json to Suggests. - debian/rules: Use dh_prep instead of dh_clean, add build-arch + build-indep targets - debian/control: Make binary package depend on ruby1.8 explicitly -- Chuck Short Sun, 12 Feb 2012 20:40:24 -0500 facter (1.6.5-1) unstable; urgency=low * New upstream release -- Stig Sandbeck Mathisen Thu, 26 Jan 2012 11:11:13 +0100 facter (1.6.4-2ubuntu1) precise; urgency=low * Merge from Debian testing (LP: #922788). Remaining changes: - debian/rules: use what we had in natty; we don't want ruby-pkg-tools in main. (LP: #408402) - debian/control: Continue using ruby + libopenssl-ruby as Build-Depends even tho Debian has moved to gem2deb (not in main). Move ruby-json to Suggests. - debian/rules: Use dh_prep instead of dh_clean, add build-arch + build-indep targets - debian/control: Make binary package depend on ruby1.8 explicitly. * Dropped changes: - debian/control: Update debhelper Build-Depends to 8 (Updated in Debian) -- Adam Gandelman Fri, 27 Jan 2012 11:05:12 -0800 facter (1.6.4-2) unstable; urgency=low * Move dmidecode from Depends to Recommends (Closes: #651501) -- Stig Sandbeck Mathisen Fri, 09 Dec 2011 09:40:16 +0100 facter (1.6.4-1) unstable; urgency=low * New upstream release * Add dependency on dmidecode -- Stig Sandbeck Mathisen Thu, 08 Dec 2011 01:19:09 +0100 facter (1.6.3-1) unstable; urgency=low * New upstream release -- Stig Sandbeck Mathisen Tue, 22 Nov 2011 21:44:38 +0100 facter (1.6.2-1ubuntu1) precise; urgency=low * Merge from Debian testing (LP: #888671). Remaining changes: - debian/rules: use what we had in natty; we don't want ruby-pkg-tools in main. (LP: #408402) - debian/control: Continue using ruby + libopenssl-ruby as Build-Depends even tho Debian has moved to gem2deb (not in main). Move ruby-json to Suggests. * debian/rules: Use dh_prep instead of dh_clean, add build-arch + build-indep targets * debian/control: Update debhelper Build-Depends to 8, make binary package depend on ruby1.8 explicitly. -- Adam Gandelman Thu, 10 Nov 2011 10:11:05 -0800 facter (1.6.2-1) unstable; urgency=low * New upstream release -- Stig Sandbeck Mathisen Wed, 12 Oct 2011 11:29:53 +0200 facter (1.6.1-1ubuntu1) precise; urgency=low * Merge from Debian unstable (LP: #877621). Remaining changes: - debian/rules: use what we had in natty; we don't want ruby-pkg-tools in main. (LP: #408402) * debian/control: Continue using ruby + libopenssl-ruby as Build-Depends even tho Debian has moved to gem2deb (not in main). Move ruby-json to Suggests. -- Adam Gandelman Tue, 18 Oct 2011 10:32:42 -0700 facter (1.6.1-1) unstable; urgency=low * New upstream release * Use upstream tarball instead of git tag -- Stig Sandbeck Mathisen Thu, 06 Oct 2011 10:48:30 +0200 facter (1.6.0-1) unstable; urgency=low * New upstream release * New packaging to support multiple ruby versions * Upstream license change * Update man page -- Stig Sandbeck Mathisen Fri, 24 Jun 2011 10:04:12 +0200 facter (1.5.9-1ubuntu1) oneiric; urgency=low * Merge from debian unstable (LP: #788284). Remaining changes: - Dropped ruby-pkg-tools and libsetup-ruby1.8; debian/rules: use what we had in natty; we don't want ruby-pkg-tools in main. (LP: #408402) * Dropped changes to lib/facter/ec2.rb. (Use the latest-meta api so it always does not retunr false). This was fixed upstream. -- Andres Rodriguez Fri, 27 May 2011 11:27:00 +0100 facter (1.5.9-1) unstable; urgency=low * New upstream release * Rewrite package description a bit to please lintian * Bump Standards-Version (no changes) -- Stig Sandbeck Mathisen Sun, 22 May 2011 13:43:16 +0200 facter (1.5.9~rc2-1) experimental; urgency=low * New upstream release candidate (Closes: #549616, #590498) -- Stig Sandbeck Mathisen Fri, 18 Mar 2011 12:06:08 +0100 facter (1.5.8-2ubuntu2) natty; urgency=low * lib/facter/ec2.rb: Use the latest-meta api so it always does not return false. (LP: #732953) -- Chuck Short Mon, 04 Apr 2011 11:34:30 -0400 facter (1.5.8-2ubuntu1) natty; urgency=low * Merge from debian unstable. Remaining changes: - Dropped ruby-pkg-tools and libsetup-ruby1.8, we don't want ruby-pkg-tools in main. (LP: #408402) -- Chuck Short Tue, 08 Feb 2011 00:18:35 +0000 facter (1.5.8-2) unstable; urgency=low * Release for unstable -- Stig Sandbeck Mathisen Mon, 07 Feb 2011 05:56:53 +0000 facter (1.5.8-1) experimental; urgency=low [Puppet Labs] * New upstream version [ Micah Anderson ] * debian/control: add Vcs-Git, Vcs-Browser, and Homepage fields * debian/control: bump standards version: no changes * debian/NEWS: fix lintian syntax-error-in-debian-news-file * debian/facter.8: fix manpage-section-mismatch [ Stig Sandbeck Mathisen ] * Fix "upgrade from 1.3.5 to 1.5.1 requires puppet to be restarted", added a note in debian/NEWS about restarting puppet (Closes: #515726) * debian/NEWS: Update to warn of changes in facter API (Closes: #499869) * Add versioned dependency for ruby1.8 (Closes: #545867) * Cherry-pick domain/fqdn fact fix from upstream (Closes: #515591) * debian/control: Bump standards version (again), no changes * debian/control: Remove unused build dependency on "cdbs" * debian/source/format: Use "3.0 (quilt)" -- Stig Sandbeck Mathisen Wed, 01 Dec 2010 16:02:13 +0100 facter (1.5.7-3ubuntu1) natty; urgency=low * Merge from debian unstable, remaining changes are: - Dropped ruby-pkg-tools and libsetup-ruby1.8, we don't want ruby-pkg-tools in main. (LP: #408402) -- Chuck Short Mon, 10 Jan 2011 11:25:00 -0500 facter (1.5.7-3) unstable; urgency=low * Remove unnecessary alternate dependency on libopenssl-ruby1.9 * Fix 1.5.7-2 changelog, correcting bug number for #545867 -- Micah Anderson Fri, 17 Dec 2010 12:17:49 -0500 facter (1.5.7-2) unstable; urgency=low [ Stig Sandbeck Mathisen ] * Fix "upgrade from 1.3.5 to 1.5.1 requires puppet to be restarted", added a note in debian/NEWS about restarting puppet (Closes: #515726) * debian/control: bump standards version: no changes * debian/control: Remove unused build dependency on "cdbs" * Add versioned dependency for ruby1.8 (Closes: #545867) * Cherry-pick domain/fqdn fact fix from upstream (Closes: #515591) [ Micah Anderson ] * debian/control: add Vcs-Git, Vcs-Browser, and Homepage fields * debian/NEWS: fix lintian syntax-error-in-debian-news-file * debian/facter.8: fix manpage-section-mismatch * cherry pick upstream virtualization support: . openvz fix [#4156] . add kvm support (Closes: #603001) . fix Linux-Vserver of virtual fact [#3397] . add xendomains fact -- Micah Anderson Wed, 15 Dec 2010 00:21:46 -0500 facter (1.5.7-1ubuntu1) maverick; urgency=low * Merge from debian testing. Remaining changes: - Dropped ruby-pkg-tools, and libsetup-ruby1.8, and cdbs, use what we had in lucid. Since we don't want ruby-pkg-tools in main (LP: #408402) -- Chuck Short Fri, 26 Mar 2010 16:14:26 +0000 facter (1.5.7-1) unstable; urgency=low * New upstream version 1.5.7 * Migrate packaging to git-buildpackage -- Nigel Kersten Fri, 29 Jan 2010 09:57:40 -0800 facter (1.5.6-3) UNRELEASED; urgency=low [ Micah Anderson ] * Switch the Depends priority from 'host | bind9-host' as the 'host' package is really old and may be removed soon from the archive. It also doesn't provide many newer functionality. [ Andrew Pollock ] * Recommend pciutils instead of depending on it (closes: #545866) [ Stig Sandbeck Mathisen ] * Add manpage for facter (Closes: #377123) -- Stig Sandbeck Mathisen Fri, 25 Dec 2009 00:41:25 +0100 facter (1.5.6-2ubuntu2) lucid; urgency=low * Dropped ruby-pkg-tools, and libsetup-ruby1.8, and cdbs, use what we had in karmic. Since we don't want ruby-pkg-tools in main. (LP: #408402) -- Chuck Short Fri, 26 Mar 2010 08:34:25 -0400 facter (1.5.6-2ubuntu1) lucid; urgency=low * Merge from debian testing, remaining changes: - Use bind9-host9 only. -- Chuck Short Fri, 06 Nov 2009 00:52:19 +0000 facter (1.5.6-2) unstable; urgency=low * Added depends possibility on libopenssl-ruby1.9 * Switch from install.rb to using the standardized Debian ruby CDBS classes to use setup.rb. This stops the munging of the shebang to a specific ruby version, as facter works with both 1.8 and 1.9 * Install facter library dependencies in ruby version neutral directory: /usr/lib/ruby/vendor_ruby * Add depends on libsetup-ruby1.8, ruby-pkg-tools and cdbs -- Micah Anderson Tue, 30 Jun 2009 00:21:23 -0400 facter (1.5.6-1) unstable; urgency=low * New upsream release * Add myself to uploaders * Bumped Standards-Version (no changes) * Added versioned build-depends on debhelper 5 -- Micah Anderson Mon, 29 Jun 2009 22:53:18 -0400 facter (1.5.4-1ubuntu1) karmic; urgency=low * Use bind9-host9 only. -- Chuck Short Mon, 03 Aug 2009 09:51:59 -0400 facter (1.5.4-1) unstable; urgency=low [ Nigel Kersten ] * New upstream release * Switch maintainer to pkg-puppet-devel list * Modify uploaders * Update watch file regexp to exclude release canditate tarballs * Use upstream install.rb script to build rather than copying manually [ Andrew Pollock ] * debian/control: add libopenssl-ruby to build dependencies * debian/control: bump Standards-Version (no changes) * debian/compat: increase to 5 * debian/control: add pciutils and ${misc:Depends} to dependencies -- Andrew Pollock Mon, 13 Apr 2009 15:20:21 -0700 facter (1.5.1-0.1) unstable; urgency=low * Non-maintainer upload * New upstream release to fix zombie problem (Closes: #497363) -- Micah Anderson Wed, 03 Sep 2008 09:06:56 -0400 facter (1.5-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream release (Closes: #492430) * Upgraded standards version to 3.8.0 (no changes) -- Micah Anderson Sat, 26 Jul 2008 07:46:56 -0400 facter (1.3.8-1) unstable; urgency=low * New upstream release. * Add 4.0/etch as a new entry in the debianversion fact. * Unfutz the debianversion fact so it doesn't annoy us with it's "constant already defined" whining. -- Matthew Palmer Tue, 25 Sep 2007 07:58:22 +1000 facter (1.3.7-1) unstable; urgency=low * New upstream release. Closes: #418967. * Add dependency on net-tools (for ifconfig). Closes: #415899. * Add a new 'debianversion' fact. Closes: #378895. Thanks to David Schmitt for the patch. * Add a dependency on host | bind9-host (for host). Closes: #403109. -- Matthew Palmer Fri, 20 Apr 2007 14:09:59 +1000 facter (1.3.5-1) unstable; urgency=low * New upstream release. -- Matthew Palmer Tue, 31 Oct 2006 06:24:59 +1100 facter (1.3.3-1) unstable; urgency=low * New upstream release. -- Matthew Palmer Fri, 30 Jun 2006 12:43:50 +1000 facter (1.3.1-1) unstable; urgency=low * Initial release. (Closes: #364976) -- Matthew Palmer Wed, 24 May 2006 09:40:54 +1000 debian/control0000664000000000000000000000253712300704750010600 0ustar Source: facter Section: admin Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Puppet Package Maintainers Uploaders: Andrew Pollock , Nigel Kersten , Micah Anderson , Stig Sandbeck Mathisen Build-Depends: debhelper (>= 8), ruby | ruby-interpreter, Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-puppet/facter.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-puppet/facter.git Homepage: http://projects.puppetlabs.com/projects/facter XS-Testsuite: autopkgtest Package: facter Architecture: all Depends: ${misc:Depends}, bind9-host | host, net-tools, ruby-json, ruby | ruby-interpreter, Recommends: pciutils, dmidecode Suggests: virt-what Description: collect and display facts about the system A cross-platform Ruby library for retrieving facts from operating systems. Supports multiple resolution mechanisms, any of which can be restricted to working only on certain operating systems or environments. Facter is especially useful for retrieving things like operating system names, IP addresses, MAC addresses, and SSH keys. . It is easy to extend Facter to include your own custom facts or to include additional mechanisms for retrieving facts. debian/patches/0000775000000000000000000000000012300704711010612 5ustar debian/patches/kvm-cpuinfo0000664000000000000000000000206112300704711012772 0ustar Author: rustx Bug: https://github.com/puppetlabs/facter/pull/419 Bug-Ubuntu: https://launchpad.net/bugs/1170325 Description: detect "Common KVM processor" in /proc/cpuinfo as virtual Forwarded: not-needed Last-Update: 2013-05-02 It looks like this was originally implemented upstream in a buggy way to me, then merged, reverted and merged again upstream, with a correction along the way. The patch is so trivial that I think that taking rustx's patch as-is is the easiest way to fix this for now, rather than trying to cherry-pick all the appropriate upstream commits. The issue is already fixed upstream, so this can be dropped when we update to the latest upstream release anyway. --rbasak --- a/lib/facter/util/virtual.rb +++ b/lib/facter/util/virtual.rb @@ -91,7 +91,7 @@ elsif ["FreeBSD", "OpenBSD"].include? Facter.value(:kernel) Facter::Util::Resolution.exec("/sbin/sysctl -n hw.model") end - (txt =~ /QEMU Virtual CPU/) ? true : false + (txt =~ /QEMU Virtual CPU|Common KVM processor/) ? true : false end def self.virtualbox? debian/patches/series0000664000000000000000000000001412300704735012030 0ustar kvm-cpuinfo debian/compat0000664000000000000000000000000212300703651010363 0ustar 8