saltstack/salt — pull request #3963 by GaretJax (2013-03-07 00:30:10+00:00)
Title: Check version using correct user

Version check fails if the correct user is not used (postgres on my system, the user root does not exist). By respecting the runas argument we avoid an error.