Issue #4754 has been updated by Matt Robinson.

Status changed from Accepted to Available In Testing Branch

commit:3ebb5a550a6ce474dbc8edffbf15f90d60d3b711

I also added a commit to make a change that was suggested on the mailing list 
when reviewing this patch.  That commit changes is_virtual? to enumerate the 
types that are NOT virtual instead of the types that are since there's fewer 
that aren't.
----------------------------------------
Bug #4754: Factor does not recognize Parallels VM
https://projects.puppetlabs.com/issues/4754

Author: Benedikt Köppel
Status: Available In Testing Branch
Priority: Normal
Assignee: 
Category: library
Target version: 2.0.0
Affected Puppet version: 0.25.4
Keywords: virtual,facter
Branch: 


Hello

Factor does not recognize that it is running inside:

<pre>
r...@puppet:/etc/puppet# facter is_virtual
r...@puppet:/etc/puppet# echo $?
0
r...@puppet:/etc/puppet# facter virtual
physical
</pre>

About my system:
<pre>
r...@puppet:/etc/puppet# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
r...@puppet:/etc/puppet# facter --version
1.5.6
r...@puppet:/etc/puppet# ruby --version
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
r...@puppet:/etc/puppet# puppet --version
0.25.4
</pre>

Best Regards,
B. Koeppel


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