saltstack/salt — pull request #3010 by archtaku (2012-12-23 18:08:02+00:00)
Title: Fix pkg state regression

acd949c and 0b5ce09 broke the pkg state, such that for single pkg
installs (i.e. no "pkgs" or "sources"), if the version arg is not
provided, a package will always be interpreted by the pkg state as being
installed, and the package will never be installed. This commit fixes
that regression.