Issue #10625 has been updated by Jeff McCune.

Status changed from Merged - Pending Release to Needs More Information
Assignee set to Peter Meier
Target version changed from 2.0.0 to 1.6.14

Peter Meier wrote:
> Can we get an update here?
> 
> Facter not being able to properly determine on which kind of system we are is 
> quite serious. virtual and is_virtual are core facts that for example 
> determine, which kind of extra services (smartd, ...) need to run on a 
> system. So it should really get some more love here from the 
> facter-developers. Thanks!

Peter, with #8210 merged into the 1.6.x branch and slated for release in 
1.6.14, could you please check to see if switching the `virtual` fact to using 
`virt-what` if available also resolves this issue?

-Jeff
----------------------------------------
Bug #10625: Xen dom0 and domU hosts reported as physical without xenfs mounted
https://projects.puppetlabs.com/issues/10625#change-74312

Author: Grant Heffernan
Status: Needs More Information
Priority: High
Assignee: Peter Meier
Category: library
Target version: 1.6.14
Keywords: virtual
Branch: https://github.com/puppetlabs/facter/pull/164 
Affected Facter version: 1.6.2


Facter 1.6.2 is reporting all my Rackspace virtuals as reals, which breaks all 
kinds of things. Rolling back to  1.6.1 clears it up.

    root@prod-fe-r02:/etc/monit/conf.d# facter | grep virtual
    is_virtual => false
    virtual => physical
    root@prod-fe-r02:/etc/monit/conf.d# gem list

    *** LOCAL GEMS ***

    facter (1.6.2)
    puppet (2.7.6)
    rake (0.8.7 ruby)
    root@prod-fe-r02:/etc/monit/conf.d# gem uninstall facter

    You have requested to uninstall the gem:
        facter-1.6.2
    puppet-2.7.6 depends on [facter (>= 1.5.1)]
    If you remove this gems, one or more dependencies will not be met.
    Continue with Uninstall? [Yn]  y
    Remove executables:
        facter

    in addition to the gem? [Yn]  y
    Removing facter
    Successfully uninstalled facter-1.6.2
    root@prod-fe-r02:/etc/monit/conf.d# gem install facter -v=1.6.1 --no-ri 
--no-rdoc
    Fetching: facter-1.6.1.gem (100%)
    Successfully installed facter-1.6.1
    1 gem installed
    root@prod-fe-r02:/etc/monit/conf.d# facter | grep virtual
    is_virtual => true
    virtual => xenu


-- 
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 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-bugs?hl=en.

Reply via email to