code: def list_mirrors(config_path=_DEFAULT_CONFIG_PATH):
      '''
      Get a list of all the mirrored remote repositories.
  
      :param str config_path: The path to the configuration file for the aptly instance.
  
      :return: A list of the mirror names.
      :rtype: list
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' aptly.list_mirrors
      '''
      _validate_config(config_path)
  
      cmd = ['mirror', 'list', '-config={}'.format(config_path), '-raw=true']
  
      cmd_ret = _cmd_run(cmd)
      ret = [line.strip() for line in cmd_ret.splitlines()]
  
      log.debug('Found mirrors: %s', len(ret))
      return ref list_mirrors(config_path=_DEFAULT_CONFIG_PATH):
      '''
      Get a list of all the mirrored remote repositories.
  
      :param str config_path: The path to the configuration file for the aptly instance.
  
      :return: A list of the mirror names.
      :rtype: list
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' aptly.list_mirrors
      '''
      _validate_config(config_path)
  
      cmd = ['mirror', 'list', '-config={}'.format(config_path), '-raw=true']
  
      cmd_ret = _cmd_run(cmd)
      ret = [line.strip() for line in cmd_ret.splitlines()]
  
      log.debug('Found mirrors: %s', len(ret))
      return ret
docs: Get a list of all the mirrored remote repositories.
  
      :param str config_path: The path to the configuration file for the aptly instance.
  
      :return: A list of the mirror names.
      :rtype: list
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' aptly.list_mirrors