Hi Folks,

new to puppet & facter and noticed its not detecting my linux guests
as virtual on a hyperV host.

I see in the tracker that https://projects.puppetlabs.com/issues/2067
goes some way on this, but there's no commits in the codebase to
identify the 'flags: .... hypervisor .... within /proc/cpuinfo

so (despite not knowing any Ruby till today (lucky it looks easy
enough)) -- I'm happy to start on a patch for this but I have some
questions:

* is getting is_virtual true (from /proc/cpuinfo) without identifying
which underlying hypervisor is used OK?

* using something like http://people.redhat.com/~rjones/virt-what/
would be lovely (as the helper looks at the cpuid) but puts an
unwanted dependency on another program -- is there a Ruby equivalent
way of doing this?

* less reliable alternative is to reuse the dmidecode stub to pull out

Handle 0x0001, DMI type 1, 25 bytes
System Information
        Manufacturer: Microsoft Corporation
        Product Name: Virtual Machine
        Version: 7.0
-- again is this the Right Thing to do?

finally if I do get anywhere, whats the best way to submit patches --
github fork and follow the wiki Development_Development_Lifecycle
docs?

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to