On Thu, Apr 29, 2010 at 11:34:02AM +0100, Matt Wallace wrote:
I guess I was really asking if you could get cobbler to perform the "create repo" step - do you know if this is possible?
I dont think so.
I.e. when making rhel/centos-media available as repo to cobbler the createrepo is not required, its only used to make a yum-repo out of a pure directory with one or more rpms.
So if you really want it included write a small wrapper which first does createrepo and then does 'cobbler repo add'. Havin 'cobbler repo add' doing that each time on its own would be huge waste of resources here in some cases: we have directories with all rhel5-x86_64 updates and deliver these to cobbler-slaves via rsync. All of these cobbler-slaves again doing the createrepo with this big number of packages would be wasting resources..
Christian