I'm running cobbler 2.0.11 from EPEL on CentOS 5.

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.

Here's one example:

# cobbler repo report --name SL5-x86_64-Base
Name                           : SL5-x86_64-Base
Arch                           : x86_64
Breed                          : yum
Comment                        :
Createrepo Flags               : <<inherit>>
Environment Variables          : {}
Keep Updated                   : True
Mirror                         :
http://linux1.fnal.gov/linux/scientific/5x/x86_64/SL
Mirror locally                 : True
Owners                         : ['admin']
Priority                       : 1
RPM List                       : []
Yum Options                    : {'exclude': 'jdk'}


I would expect that the cobbler-config.repo file that is generated for a
system would contain "exclude=jdk," but it doesn't. Here are the lines
from cobbler-config.repo for that repo:

[SL5-x86_64-Base]
name=SL5-x86_64-Base
baseurl=http://10.0.110.55/cobbler/repo_mirror/SL5-x86_64-Base
enabled=1
priority=1
gpgcheck=0


Also, the "exclude" option isn't in the repo file used by reposync from
the origin:

# cat
/var/www/cobbler/repo_mirror/SL5-x86_64-Base/.origin/SL5-x86_64-Base.rep
o
[SL5-x86_64-Base]
name=SL5-x86_64-Base
baseurl=http://linux1.fnal.gov/linux/scientific/5x/x86_64/SL
enabled=1
priority=1
gpgcheck=0


I've got other repos where I added "enabled=0" to "Yum Options," and
that seems to work. Why doesn't "exclude=jdk" work the same way? Did I
miss a step that was required after I changed "Yum Options" to make the
change take effect?



--
Owen Beckley  -  [email protected] - T: 630 482 5148  -  M: 630 788
6998


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to