docs: def owner(*paths, **kwargs):
      '''
      Return the name of the package that owns the file. Multiple file paths can
      be passed. Like :mod:`pkg.version <salt.modules.apk.version`, if a single
      path is passed, a string will be returned, and if multiple paths are passed,
      a dictionary of file/package name pairs will be returned.
  
      If the file is not owned by a package, or is not present on the minion,
      then an empty string will be returned for that path.
  
      CLI Example:
  
          salt '*' pkg.owns /usr/bin/apachectl
          salt '*' pkg.owns /usr/bin/apachectl /usr/bin/basename
      '''
      if not paths:
          return 'You must provide a path'
  
      ret = {}
      cmd_search = ['apk', 'info', '-W']
      for path in paths:
          cmd = cmd_search[:]
          cmd.append(path)
          output = __salt__['cmd.run_stdout'](cmd,
                                              output_loglevel='trace',
                                              python_shell=False)
          if output:
              if 'ERROR:' in output:
                  ret[path] = 'Could not find owner package'
              else:
                  ret[path] = output.split('by ')[1].strip()
          else:
              ret[path] = 'Error running {0}'.format(cmd)
  
      return ret