code: def absent(name, auth=None):
      '''
      Ensure domain does not exist
  
      name
          Name of the domain
      '''
      ret = {'name': name,
             'changes': {},
             'result': True,
             'comment': ''}
  
      __salt__['keystoneng.setup_clouds'](auth)
  
      domain = __salt__['keystoneng.domain_get'](name=name)
  
      if domain:
          if __opts__['test'] is True:
              ret['result'] = None
              ret['changes'] = {'name': name}
              ret['comment'] = 'Domain {} will be deleted.'.format(name)
              return ret
  
          __salt__['keystoneng.domain_delete'](name=domain)
          ret['changes']['id'] = domain.id
          ret['comment'] = 'Deleted domain'
  
      return ref absent(name, auth=None):
      '''
      Ensure domain does not exist
  
      name
          Name of the domain
      '''
      ret = {'name': name,
             'changes': {},
             'result': True,
             'comment': ''}
  
      __salt__['keystoneng.setup_clouds'](auth)
  
      domain = __salt__['keystoneng.domain_get'](name=name)
  
      if domain:
          if __opts__['test'] is True:
              ret['result'] = None
              ret['changes'] = {'name': name}
              ret['comment'] = 'Domain {} will be deleted.'.format(name)
              return ret
  
          __salt__['keystoneng.domain_delete'](name=domain)
          ret['changes']['id'] = domain.id
          ret['comment'] = 'Deleted domain'
  
      return ret
docs: Ensure domain does not exist
  
      name
          Name of the domain