update doc string for the service module

This commit is contained in:
Thomas S Hatch 2012-01-05 17:29:42 -07:00
parent 6563bd18a1
commit 0f8bc2a686

View File

@ -1,6 +1,6 @@
'''
Top level package command wrapper, used to translate the os detected by the
grains to the correct service manager
The default service module, if not otherwise specified salt will fall back
to this basic module
'''
import os
@ -83,3 +83,4 @@ def status(name, sig=None):
cmd = "{0[ps]} | grep {1} | grep -v grep | awk '{{print $2}}'".format(
__grains__, sig)
return __salt__['cmd.run'](cmd).strip()