def list_avail():
    cmd = 'locale -a'
    out = __salt__['cmd.run'](cmd).split('\n')
    return out
Simple check server
dataset/ETHPy150Open saltstack/salt/salt/modules/localemod.py/list_avail--crossover with--dataset/ETHPy150Open hatRiot/PeachOrchard/node/src/core/node_resource.py/check_server