salt.states.modjk

State to control Apache modjk

salt.states.modjk.worker_activated(name, workers=None, profile='default')

Activate all the workers in the modjk load balancer

范例:

loadbalancer:
  modjk.worker_activated:
    - workers:
      - app1
      - app2
salt.states.modjk.worker_disabled(name, workers=None, profile='default')

Disable all the workers in the modjk load balancer

范例:

loadbalancer:
  modjk.worker_disabled:
    - workers:
      - app1
      - app2
salt.states.modjk.worker_recover(name, workers=None, profile='default')

Recover all the workers in the modjk load balancer

范例:

loadbalancer:
  modjk.worker_recover:
    - workers:
      - app1
      - app2
salt.states.modjk.worker_stopped(name, workers=None, profile='default')

Stop all the workers in the modjk load balancer

范例:

loadbalancer:
  modjk.worker_stopped:
    - workers:
      - app1
      - app2