Skip to content

Commit

Permalink
Merge remote branch 'adrien/tickets/next/6719' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
jamtur01 committed Mar 16, 2011
2 parents 4a718a7 + 1207765 commit aa46ede
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/facter/virtual.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@

setcode do

result = "zone" if Facter::Util::Virtual.zone?
if Facter::Util::Virtual.zone? and Facter(:operatingsystem) == "Solaris"
result = "zone"
end

if Facter.value(:kernel)=="HP-UX"
result = "hpvm" if Facter::Util::Virtual.hpvm?
Expand Down

0 comments on commit aa46ede

Please sign in to comment.