def stop(name):
 cmd = '/etc/rc.d/{0} -f stop'.format(name)
 return (not __salt__['cmd.retcode'](cmd))

def stop ( name ) : cmd = '/etc/rc.d/{0} -f stop' . format ( name ) return ( not __salt__ [ 'cmd.retcode' ] ( cmd ) )
stop the specified service cli example: .