def set_var(name, value):
    ret = {'name': name,
           'changes': {},
           'result': None,
           'comment': ''}

    if __opts__['test']:
        ret['comment'] = 'Configuring {0} to {1}'.format(
            name,
            value,
        )
        return ret

    __salt__['trafficserver.set_var'](name, value)

    ret['result'] = True
    ret['comment'] = 'Configured {0} to {1}'.format(name, value)
    return ret
Setup Parameters
dataset/ETHPy150Open saltstack/salt/salt/states/trafficserver.py/set_var--crossover with--dataset/ETHPy150Open neurodata/ndstore/test/test_json.py/Test_Delete_Channel_Json.setup_class