code: def absent(name, domain, user=None):
      '''
      Make sure the defaults value is absent
  
      name
          The key of the given domain to remove
  
      domain
          The name of the domain to remove from
  
      user
          The user to write the defaults to
  
  
      '''
      ret = {'name': name,
             'result': True,
             'comment': '',
             'changes': {}}
  
      out = __salt__['macdefaults.delete'](domain, name, user)
  
      if out['retcode'] != 0:
          ret['comment'] += "{0} {1} is already absent".format(domain, name)
      else:
          ret['changes']['absent'] = "{0} {1} is now absent".format(domain, name)
  
      return ref absent(name, domain, user=None):
      '''
      Make sure the defaults value is absent
  
      name
          The key of the given domain to remove
  
      domain
          The name of the domain to remove from
  
      user
          The user to write the defaults to
  
  
      '''
      ret = {'name': name,
             'result': True,
             'comment': '',
             'changes': {}}
  
      out = __salt__['macdefaults.delete'](domain, name, user)
  
      if out['retcode'] != 0:
          ret['comment'] += "{0} {1} is already absent".format(domain, name)
      else:
          ret['changes']['absent'] = "{0} {1} is now absent".format(domain, name)
  
      return ret
docs: Make sure the defaults value is absent
  
      name
          The key of the given domain to remove
  
      domain
          The name of the domain to remove from
  
      user
          The user to write the defaults to