saltstack/salt — pull request #805 by archtaku (2012-03-01 17:01:22+00:00)
Title: add upgrade_available()

This commit adds these functions for yumpkg.py and yumpkg5.py. The code for yumpkg5.py is slightly more simplistic because available_version() returns a string value rather than a list like yumpkg.py.