Issue #10806 has been updated by Jeff Weiss.

Target version deleted (1.6.x)


----------------------------------------
Bug #10806: Facter 'virtual' has errors when no DISPLAY
https://projects.puppetlabs.com/issues/10806#change-63733

Author: Malcolm Howe
Status: Accepted
Priority: Normal
Assignee: 
Category: library
Target version: 
Keywords: 
Branch: 
Affected Facter version: 1.6.1


On a CentOS 5 system running VMware Workstation 7.1.4 facter 1.6.1 and higher 
running in cron produces output to STDERR saying "xprop:  unable to open 
display '' ...". The cause appears to be that 'virtual' executes vmware -v 
which produces these errors when there is no DISPLAY environment variable set 
(or something similar if there is a value set and the display is not 
reachable). Arguably this is poor behaviour from the vmware command, but none 
the less that is how it behaves, so it would be better if facter could work 
round this, possibly throwing away the STDERR from vmware -v, or finding a 
different way to determine the VMware version, or skipping this test when 
DISPLAY is not set.




-- 
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