Issue #10232 has been updated by Andrew Parker.

Target version changed from 2.0.0 to 1.7.0

This was actually released in 1.7.0 and merge in commit e980343

----------------------------------------
Feature #10232: virtual: Get virtual information from sysfs (no dmidecode and 
lspci on virtualbox)
https://projects.puppetlabs.com/issues/10232#change-94862

* Author: Mikael Fridh
* Status: Closed
* Priority: Normal
* Assignee: Mikael Fridh
* Category: library
* Target version: 1.7.0
* Keywords: virtualbox
* Branch: https://github.com/frimik/facter/tree/virtualbox
* Affected Facter version: 1.6.2
----------------------------------------
https://github.com/puppetlabs/facter/pull/83#issuecomment-2485524

"
I found that the virtual fact said "physical" on my virtualbox machine because 
I had a minimal install.
This fix reads from /sys/devices/virtual/dmi/id/product_name and gets the value 
VirtualBox.

I'm sure it works on several other hypervisors but virtualbox is all I have to 
test on so I'm leaving it at that.
"

I know this is a narrow use case at this point, but it fixed my issue - getting 
the fact right even on a minimally installed VM. This could probably be 
extended to get more information on kernel 2.6 linux.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to