code: def jdbc_datasource_absent(name, both=True, server=None):
      '''
      Ensures the JDBC Datasource doesn't exists
  
      name
          Name of the datasource
      both
          Delete both the pool and the resource, defaults to ``true``
      '''
      ret = {'name': name, 'result': None, 'comment': None, 'changes': {}}
      pool_ret = _do_element_absent(name, 'jdbc_connection_pool', {'cascade': both}, server)
  
      if not pool_ret['error']:
          if __opts__['test'] and pool_ret['delete']:
              ret['comment'] = 'JDBC Datasource set to be deleted'
          elif pool_ret['delete']:
              ret['result'] = True
              ret['comment'] = 'JDBC Datasource deleted'
          else:
              ret['result'] = True
              ret['comment'] = 'JDBC Datasource doesn\'t exist'
      else:
          ret['result'] = False
          ret['comment'] = 'Error: {0}'.format(pool_ret['error'])
      return ref jdbc_datasource_absent(name, both=True, server=None):
      '''
      Ensures the JDBC Datasource doesn't exists
  
      name
          Name of the datasource
      both
          Delete both the pool and the resource, defaults to ``true``
      '''
      ret = {'name': name, 'result': None, 'comment': None, 'changes': {}}
      pool_ret = _do_element_absent(name, 'jdbc_connection_pool', {'cascade': both}, server)
  
      if not pool_ret['error']:
          if __opts__['test'] and pool_ret['delete']:
              ret['comment'] = 'JDBC Datasource set to be deleted'
          elif pool_ret['delete']:
              ret['result'] = True
              ret['comment'] = 'JDBC Datasource deleted'
          else:
              ret['result'] = True
              ret['comment'] = 'JDBC Datasource doesn\'t exist'
      else:
          ret['result'] = False
          ret['comment'] = 'Error: {0}'.format(pool_ret['error'])
      return ret
docs: Ensures the JDBC Datasource doesn't exists
  
      name
          Name of the datasource
      both
          Delete both the pool and the resource, defaults to ``true``