calmh/puppet — comment on commit fd2cd30b1d7504996731e0732b5a2a316484032d
File: lib/puppet/provider/package/pkg.rb line 44
By calmh:

Where older version returned the word "installed", Solaris 11 now returns a flag field of three characters that begins with "i" if the package is installed:

jb@anto:~/puppet % pkg list -H ruby-18
runtime/ruby-18 1.8.7.334-0.175.0.0.0.2.537 i--

This regexp matches both scenarios.