puppetlabs/puppet — pull request #558 by InViZz (2012-03-03 10:27:50+00:00)
Title: fix of self::REGEX and version(in def latest) to support extra pkg repositories (e.g. sfe)

using extra repos like sfe will give one additional field in the pkg
output:
#pkg list -H | grep geoip
library/geoip (see) 1.4.6-0.151.1 installed
-----
this commit fixes this problem