

def reset_catalog():
    "\n    .. versionadded:: 2016.3.0\n\n    Reset the Software Update Catalog to the default.\n\n    :return: True if successful, False if not\n    :rtype: bool\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' softwareupdates.reset_catalog\n    "
    cmd = ['softwareupdate', '--clear-catalog']
    try:
        salt.utils.mac_utils.execute_return_success(cmd)
    except CommandExecutionError as exc:
        pass
    return (get_catalog() == 'Default')

dataset/ETHPy150Open saltstack/salt/salt/modules/mac_softwareupdate.py reset_catalog/original