def METHOD_NAME(self, distro: "Distro") -> int:
    """
    TODO
    :param distro: TODO
    :return: TODO
    """
    # Collapse the object down to a rendered datastructure.
    # The second argument set to false means we don't collapse dicts/arrays into a flat string.
    target = utils.blender(self.api, False, distro)
    # Create metadata for the templar function.
    # Right now, just using local_img_path, but adding more Cobbler variables here would probably be good.
    metadata = {}
    metadata["local_img_path"] = os.path.join(self.bootloc, "images", distro.name)
    metadata["web_img_path"] = os.path.join(
        self.webdir, "distro_mirror", distro.name
    )
    # Create the templar instance.  Used to template the target directory
    templater = templar.Templar(self.api)
    # Loop through the dict of boot files, executing a cp for each one
    self.logger.info("processing boot_files for distro: %s", distro.name)
    for boot_file in list(target["boot_files"].keys()):
        rendered_target_file = templater.render(boot_file, metadata, None)
        rendered_source_file = templater.render(
            target["boot_files"][boot_file], metadata, None
        )
        file = ""  # to prevent unboundlocalerror
        filedst = ""  # to prevent unboundlocalerror
        try:
            for file in glob.glob(rendered_source_file):
                if file == rendered_source_file:
                    # this wasn't really a glob, so just copy it as is
                    filedst = rendered_target_file
                else:
                    # this was a glob, so figure out what the destination file path/name should be
                    _, tgt_file = os.path.split(file)
                    rnd_path, _ = os.path.split(rendered_target_file)
                    filedst = os.path.join(rnd_path, tgt_file)
                    if not os.path.isdir(rnd_path):
                        filesystem_helpers.mkdir(rnd_path)
                if not os.path.isfile(filedst):
                    shutil.copyfile(file, filedst)
                self.logger.info(
                    "copied file %s to %s for %s", file, filedst, distro.name
                )
        except Exception:
            self.logger.error(
                "failed to copy file %s to %s for %s", file, filedst, distro.name
            )
    return 0