@netmarkjp さんが
add feature package installed with version
https://github.com/mizzy/serverspec/pull/164
という pull request を投げていて、
0.6.8 で
"Support with_version chain with be_installed matcher without by chain (But currently supported only on Red Hat family)"
と取り込まれたので、Solaris 対応して pull request を送ってみた
(0.6.10 で取り込まれた)。
https://github.com/mizzy/serverspec/pull/166
Solaris の場合、以下のように、いろいろなバージョンがくっついてくるので、
もっと厳格にチェックした方がいい気はしているけど、とりあえず。
% pkg list -H entire entire (solaris) 0.5.11-0.175.1.8.0.4.0 i-- % pkg list -Hv entire pkg://solaris/[email protected],5.11-0.175.1.8.0.4.0:20130531T203415Z i--