def restart(name):
    cmd = _service_cmd(name, 'restart')
    return not __salt__['cmd.retcode'](cmd)
Converts a MapReduceYaml file into a JSON-encodable dictionary.
dataset/ETHPy150Open saltstack/salt/salt/modules/debian_service.py/restart--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/mapreduce/status.py/MapReduceYaml.to_dict