saltstack/salt — pull request #3345 by giantlock (2013-01-20 18:12:30+00:00)
Title: fix pkg.latest bugs

1) state does not care about already installed packages and always try to install all of them
2) if we can not gether info about some available packages it's might be a problem despite of installed packages or not (now it's only become problem if desired package not installed)