saltstack/salt — pull request #5508 by terminalmage (2013-06-12 21:05:15+00:00)
Title: Perform service availability checks first for all service states

This commit makes service states return more meaningful/accurate
information by first checking if the service is available before trying
to do anything. Fixes #5464.