Issue #22009 has been updated by Josh Cooper.

Status changed from Unreviewed to Needs More Information
Assignee set to David K

Previously the order of resolutions used to evaluate the `virtual` fact was 
non-deterministic as there were multiple facts with the same weight. This was 
fixed in 
[995232e](https://github.com/puppetlabs/facter/commit/995232eeb54b0aede5df5dea6ad4a35aee5c8208)
 as part of fixing a different issue. Can you confirm this issue is fixed in 
facter 1.7.3 and if so mark the bug as closed?

----------------------------------------
Bug #22009: Facter does not work with solaris zones properly.
https://projects.puppetlabs.com/issues/22009#change-99284

* Author: David K
* Status: Needs More Information
* Priority: Normal
* Assignee: David K
* Category: 
* Target version: 
* Keywords: 
* Branch: 
* Affected Facter version: 1.7.2
----------------------------------------
is_virtual and virtual are wrong.

Issue is there are two SunOS confines. The second out does no checking for 
being a zone at all so it defaults to physical.

Solution: remove SunOS from the list of..

Facter.add("virtual") do
  confine :kernel => %w{Linux FreeBSD OpenBSD SunOS HP-UX GNU/kFreeBSD}



-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to