code: def targets(tgt, tgt_type='glob', **kwargs):
      '''
      Return the targets from the flat yaml file, checks opts for location but
      defaults to /etc/salt/roster
      '''
      rmatcher = RosterMatcher(tgt, tgt_type)
      return rmatcher.targets(f targets(tgt, tgt_type='glob', **kwargs):
      '''
      Return the targets from the flat yaml file, checks opts for location but
      defaults to /etc/salt/roster
      '''
      rmatcher = RosterMatcher(tgt, tgt_type)
      return rmatcher.targets()
docs: Return the targets from the flat yaml file, checks opts for location but
      defaults to /etc/salt/roster