saltstack/salt — pull request #2176 by jacksontj (2012-10-05 19:11:57+00:00)
Title: Adding support for specific package versions

Currently the yumpkg module doesn't support specific versions for packages. I've run into many use cases that require this functionality. This commit adds support for specificying package versions in "yum style", for example salt '*' pkg.install package-VERSION-REVISION. This is achieved using the yumbase library to do the pattern parsing of the package name+version.