On Mon, 27 Jun 2011 15:26:44 -0500, "Owen Beckley" <OwenB(a)foxriver.com>
wrote:
> bounces(a)lists.fedorahosted.org] On Behalf Of Owen Beckley
>
> > > I've got a set of repos that I would like to exclude one RPM from.
> > > I added an exclude option to the "Yum Options" field in
cobbler.
> > <snip>
> >
> > From looking at things, this might only get honored at create time.
> > If you add it to /var/www/cobbler/repo_mirror/*/config.repo, it
should
> > start showing up.
> >
> > Can you file a ticket on this and I'll try to have a look.
> >
> > --
> > Scott Henson
>
> Thanks, Scott. I opened ticket #671 for this issue.
>
Scott,
It looks like reposync does, in fact, add the "exclude=jdk" lines to the
/var/www/cobbler/repo_mirror/*/config.repo files. This in turn gets them
into /etc/yum.repos.d/cobbler-config.repo if you wget that from the
server again.
So the missing step is to run "cobbler reposync --only=REPONAME" after
changing Yum Options for any given REPONAME.
The lines are still not in the .origin versions, but that's probably a
good thing.
Ahh, that all makes sense now. Do you consider this a documentation bug then?
--
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME