Issue #2242 has been updated by Adrien Thebo.

Status changed from In Topic Branch Pending Merge to Merged - Pending Release

Merged in commit:2512ff0dabb7b107b7af89aa015b7653d5de9e13
----------------------------------------
Bug #2242: Simplify OpenVZ detection, based on /proc/self/status
https://projects.puppetlabs.com/issues/2242

Author: Christian Hofstaedtler
Status: Merged - Pending Release
Priority: Normal
Assignee: Ben Hughes
Category: library
Target version: 1.6.x
Keywords: 
Branch: 
https://github.com/barn/facter/tree/ticket%2F1.5.9%2F6728-facter_improperly_detects_openvzve_on_cloudlinux_systems
Affected Facter version: 


virtual.rb currently does lot's of things to detect different virtualization 
environments. As some of them represent their state in /proc/self/status, it 
would be cool if this could be unified. Paul also wanted to create tests for 
virtual.rb, based on /proc/self/status.

OpenVZ states in /proc/self/status:

<pre>
envID == 0 -> openvzhn
envID present but > 0 -> openvzve
</pre>




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