'Return one large yum repo config blob suitable for use by any target system that requests it.'

def get_yum_config(self, obj, is_profile):

    totalbuf = ''
    blended = utils.blender(self.api, False, obj)
    input_files = []
    included = {}
    for r in blended['source_repos']:
        filename = ((self.settings.webdir + '/') + '/'.join(r[0].split('/')[4:]))
        if (filename not in included):
            input_files.append(filename)
        included[filename] = 1
    for repo in blended['repos']:
        path = os.path.join(self.settings.webdir, 'repo_mirror', repo, 'config.repo')
        if (path not in included):
            input_files.append(path)
        included[path] = 1
    for infile in input_files:
        try:
            infile_h = open(infile)
        except:
            totalbuf += ('\n#    error:    could    not    read    repo    source:    %s\n\n' % infile)
            continue
        infile_data = infile_h.read()
        infile_h.close()
        outfile = None
        totalbuf += self.templar.render(infile_data, blended, outfile, None)
        totalbuf += '\n\n'
    return totalbuf
