code: def worker_edit(worker, lbn, settings, profile='default'):
      '''
      Edit the worker settings
  
      Note: http://tomcat.apache.org/connectors-doc/reference/status.html
      Data Parameters for the standard Update Action
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' modjk.worker_edit node1 loadbalancer1 "{'vwf': 500, 'vwd': 60}"
          salt '*' modjk.worker_edit node1 loadbalancer1 "{'vwf': 500, 'vwd': 60}" other-profile
      '''
  
      settings['cmd'] = 'update'
      settings['mime'] = 'prop'
      settings['w'] = lbn
      settings['sw'] = worker
  
      return _do_http(settings, profile)['worker.result.type'] == 'OKf worker_edit(worker, lbn, settings, profile='default'):
      '''
      Edit the worker settings
  
      Note: http://tomcat.apache.org/connectors-doc/reference/status.html
      Data Parameters for the standard Update Action
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' modjk.worker_edit node1 loadbalancer1 "{'vwf': 500, 'vwd': 60}"
          salt '*' modjk.worker_edit node1 loadbalancer1 "{'vwf': 500, 'vwd': 60}" other-profile
      '''
  
      settings['cmd'] = 'update'
      settings['mime'] = 'prop'
      settings['w'] = lbn
      settings['sw'] = worker
  
      return _do_http(settings, profile)['worker.result.type'] == 'OK'
docs: Edit the worker settings
  
      Note: http://tomcat.apache.org/connectors-doc/reference/status.html
      Data Parameters for the standard Update Action
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' modjk.worker_edit node1 loadbalancer1 "{'vwf': 500, 'vwd': 60}"
          salt '*' modjk.worker_edit node1 loadbalancer1 "{'vwf': 500, 'vwd': 60}" other-profile