saltstack/salt — pull request #1947 by romeotheriault (2012-09-03 09:03:46+00:00)
Title: Separated and cleaned up solaris zone detection

I separated out and expanded upon the Solaris virtual detection. It now detects another more usual type of solaris zone. I'll look to add x86 virtual platform (e.g. vmware, virtualbox, etc..) detection in the future. I don't currently have any solaris virtual instances to test against so I'm just doing the zone detection for now, which covers my needs.

At this point, I think we have some pretty good solaris grain detection in place. I think the next items I'll look into are creating some modules for SMF/init and pkg/pkgutil.