puppetlabs/puppet — pull request #719 by stschulte (2012-04-26 14:59:48+00:00)
Title: Solaris 11 Support in pkg provider

As Robert van Veelen mentioned in https://projects.puppetlabs.com/issues/11004:

/Oracle has changed the output format of pkg again for the final release of s11. The “status” field is no longer present in the output of “pkg list -H”. There is now an IFO field that has the following status flags .../

The patch now modifies the regex and marks the `status` field as an optional field so the regex will match on solaris 10 and also on solaris 11 lines. If the status field (`installed` or `known`) is not present, it will be generated by looking at the `flag` field which does indicate installed on solaris 11.

Please not that I do not own a solaris machine so I'm fixing the bug that is described in the ticket but I cannot tell if that is enough to fully support solaris 11 with the pkg provider.