When I run a cobbler reposync of a mirrored repo and the sync needs to pull dependencies the reposync pulls those dependencies from the system's yum.repos.d list.
e.g.:
Cobbler Server: CentOS 5.3 Cobbler repos: fedora10, rpmfusion
If I try to sync an rpmfusion mirror and some of those files are dependent on core dependency files then cobbler will download those CentOS dependencies instead of from the fedora repositories so I get a mix of el5 and fc10 packages.
The current way I've been getting around this is to symlink the yum.repos.d file to the repos for fedora10 when I run a cobbler reposync and then unlink and re-link for updates to the host OS.
My question is: Is there a better way to do this?
Thanks for any pointers...