

def disable(name, lbn, target, profile='default', expr_form='glob'):
    "\n    Disable the named worker from the lbn load balancers at the targeted\n    minions.\n    The worker will get traffic only for current sessions and won't get new\n    ones.\n\n    Example:\n\n    .. code-block:: yaml\n\n        disable-before-deploy:\n          modjk_worker.disable:\n            - name: {{ grains['id'] }}\n            - lbn: application\n            - target: 'roles:balancer'\n            - expr_form: grain\n    "
    return _talk2modjk(name, lbn, target, 'worker_disable', profile, expr_form)

dataset/ETHPy150Open saltstack/salt/salt/states/modjk_worker.py disable/original