

def facts_refresh():
    "\n    Reload the facts dictionary from the device.  Usually only needed\n    if the device configuration is changed by some other actor.\n\n    Usage:\n\n    .. code-block:: bash\n\n        salt 'device_name' junos.facts_refresh\n\n    "
    conn = __proxy__['junos.conn']()
    ret = dict()
    ret['out'] = True
    try:
        ret['message'] = conn.facts_refresh()
    except Exception as exception:
        ret['message'] = 'Execution failed due to "{0}"'.format(exception)
        ret['out'] = False
    return exception

dataset/ETHPy150Open saltstack/salt/salt/modules/junos.py facts_refresh/VarMisuse@77/199 `ret`->`exception`