Issue #7376 has been updated by Rudy Gevaert. Status changed from Unreviewed to Closed Target version set to 1.5.9 % Done changed from 0 to 100
this already reported in 5016. ---------------------------------------- Bug #7376: is_virtual returns false in Solaris zone https://projects.puppetlabs.com/issues/7376 Author: Rudy Gevaert Status: Closed Priority: Normal Assignee: Category: Target version: 1.5.9 Keywords: Branch: Affected Facter version: On solaris is_virtual is wrong when running in a zone: <pre> root@sapz22:facter# facter virtual is_virtual is_virtual => false virtual => zone </pre> Note, is_virtual returns false, when virtual says it is a zone. In virtual.rb you can see: <code> Facter.add("is_virtual") do confine :kernel => %w{Linux FreeBSD OpenBSD SunOS} setcode do case Facter.value(:virtual) when "xenu", "openvzve", "vmware", "kvm", "vserver", "jail" true else false end end end </code> Adding 'zone' to the list fixes the issue. <pre> root@sapz22:facter# facter --version 1.5.8 </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.
