original_docstring: 
      Run a Kapacitor task and return a dictionary of info.
      
docstring: Run a Kapacitor task and return a dictionary of info.
docstring_tokens: Run a Kapacitor task and return a dictionary of info .
code: def _run_cmd(cmd):
      '''
      Run a Kapacitor task and return a dictionary of info.
      '''
      ret = {}
      result = __salt__['cmd.run_all'](cmd)
  
      if result.get('stdout'):
          ret['stdout'] = result['stdout']
      if result.get('stderr'):
          ret['stderr'] = result['stderr']
      ret['success'] = result['retcode'] == 0
  
      return ret
code_tokens: def _run_cmd ( cmd ) : ret = { } result = __salt__ [ 'cmd.run_all' ] ( cmd ) if result . get ( 'stdout' ) : ret [ 'stdout' ] = result [ 'stdout' ] if result . get ( 'stderr' ) : ret [ 'stderr' ] = result [ 'stderr' ] ret [ 'success' ] = result [ 'retcode' ] == 0 return ret
short_docstring: Run a Kapacitor task and return a dictionary of info.
short_docstring_tokens: Run a Kapacitor task and return a dictionary of info .
comment: '''
      Run a Kapacitor task and return a dictionary of info.
      '''