def auto(name):
    cmd = [_get_cmd(), '--auto', name]
    out = __salt__['cmd.run_all'](cmd, python_shell=False)
    if out['retcode'] > 0:
        return out['stderr']
    return out['stdout']
Trigger alternatives to set the path for <name> as
dataset/ETHPy150Open saltstack/salt/salt/modules/alternatives.py/auto