code: def _do(name, fun, path=None):
      '''
      Invoke a function in the lxc module with no args
  
      path
          path to the container parent
          default: /var/lib/lxc (system default)
  
          .. versionadded:: 2015.8.0
      '''
      host = find_guest(name, quiet=True, path=path)
      if not host:
          return False
  
      client = salt.client.get_local_client(__opts__['conf_file'])
      cmd_ret = client.cmd_iter(
              host,
              'lxc.{0}'.format(fun),
              [name],
              kwarg={'path': path},
              timeout=60)
      data = next(cmd_ret)
      data = data.get(host, {}).get('ret', None)
      if data:
          data = {host: data}
      return datf _do(name, fun, path=None):
      '''
      Invoke a function in the lxc module with no args
  
      path
          path to the container parent
          default: /var/lib/lxc (system default)
  
          .. versionadded:: 2015.8.0
      '''
      host = find_guest(name, quiet=True, path=path)
      if not host:
          return False
  
      client = salt.client.get_local_client(__opts__['conf_file'])
      cmd_ret = client.cmd_iter(
              host,
              'lxc.{0}'.format(fun),
              [name],
              kwarg={'path': path},
              timeout=60)
      data = next(cmd_ret)
      data = data.get(host, {}).get('ret', None)
      if data:
          data = {host: data}
      return data
docs: Invoke a function in the lxc module with no args
  
      path
          path to the container parent
          default: /var/lib/lxc (system default)
  
          .. versionadded:: 2015.8.0