code: def _get_src(tree_base, source, saltenv='base'):
      '''
      Get the named sources and place them into the tree_base
      '''
      parsed = _urlparse(source)
      sbase = os.path.basename(source)
      dest = os.path.join(tree_base, sbase)
      if parsed.scheme:
          __salt__['cp.get_url'](source, dest, saltenv=saltenv)
      else:
          shutil.copy(source, destf _get_src(tree_base, source, saltenv='base'):
      '''
      Get the named sources and place them into the tree_base
      '''
      parsed = _urlparse(source)
      sbase = os.path.basename(source)
      dest = os.path.join(tree_base, sbase)
      if parsed.scheme:
          __salt__['cp.get_url'](source, dest, saltenv=saltenv)
      else:
          shutil.copy(source, dest)
docs: Get the named sources and place them into the tree_base