Issue #10625 has been updated by Grant Heffernan.
/proc/sys/xen is not present:
root@prod-fe-r01:/sys/hypervisor# ls -lR
.:
total 0
drwxr-xr-x 2 root root 0 Nov 8 19:19 compilation
drwxr-xr-x 2 root root 0 Nov 8 19:19 properties
-r--r--r-- 1 root root 4096 Nov 8 19:19 type
-r--r--r-- 1 root root 4096 Nov 8 19:19 uuid
drwxr-xr-x 2 root root 0 Nov 8 19:19 version
./compilation:
total 0
-r--r--r-- 1 root root 4096 Nov 8 19:19 compile_date
-r--r--r-- 1 root root 4096 Nov 8 19:19 compiled_by
-r--r--r-- 1 root root 4096 Nov 8 19:19 compiler
./properties:
total 0
-r--r--r-- 1 root root 4096 Nov 8 19:19 capabilities
-r--r--r-- 1 root root 4096 Nov 8 19:19 changeset
-r--r--r-- 1 root root 4096 Nov 8 19:19 features
-r--r--r-- 1 root root 4096 Nov 8 19:19 pagesize
-r--r--r-- 1 root root 4096 Nov 8 19:19 virtual_start
./version:
total 0
-r--r--r-- 1 root root 4096 Nov 8 19:19 extra
-r--r--r-- 1 root root 4096 Nov 8 19:19 major
-r--r--r-- 1 root root 4096 Nov 8 19:19 minor
----------------------------------------
Bug #10625: Facter 1.6.2 incorrectly reports is_virtual as false
https://projects.puppetlabs.com/issues/10625
Author: Grant Heffernan
Status: Accepted
Priority: High
Assignee:
Category: library
Target version:
Keywords: virtual
Branch:
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.