[et-mgmt-tools] Creating a yum repo (via cobbler) from "scratch"?

Sandor W. Sklar ssklar at stanford.edu
Sat Feb 2 00:13:40 UTC 2008


On Feb 1, 2008, at 7:16 AM, Michael DeHaan wrote:

> Adam Rosenwald wrote:
>
> Thanks for the help Adam.

Yes, again, thank you very much!
>
>
> A few quick comments:
> -- you don't actually have to call createrepo yourself, cobbler will  
> do it for you.

OK, that is good to know.

>
> -- we don't currently have the ability to assign a list of repos to  
> a distro, only a profile, however that might be a good idea for a  
> future addition.
>
> -- there's a quick writeup on some of the repo management stuff  
> here:  http://cobbler.et.redhat.com/cobbler-repos.php

Thanks, I did read through that page (honest!)  My new question is, is  
there any way around keeping two copies of each RPM?  For example, I  
created my repo "base" in /var/repo/tsm-client/base, and then ran  
"cobbler repo add ..." and "cobbler reposync", which all worked  
perfectly.

Now, I have ...

# find /var -name TIVsm-API64.i386.rpm
/var/repo/tsm-client/base/TIVsm-API64.i386.rpm
/var/www/cobbler/repo_mirror/tsm-client/base/TIVsm-API64.i386.rpm

... two copies of each of the RPMs.  I'd love to be able to delete  
the /var/repo/tsm-client directory, and if I have newer or changed  
RPMs to go in that repository, to be able to just drop them into /var/ 
www/cobbler/repo_mirror/tsm-client/base/ and then run something like  
"cobbler reposync" to have it automagically find the new files and do  
the right thing.

Any chance that this is actually possible?  Thanks, again ... I'm  
still amazed at how quickly I was able to get this far!

	-s-




More information about the et-mgmt-tools mailing list