On 05/02/2012 11:58 AM, Russ Lavoy wrote: > Hello, > > I have a question regarding keeping the repos clean... for some > reason my repositories on my main cobbler server (the one that has > internet access) are smaller in size than my other downstream cobbler > servers. is this because the rsync --delete flag is not used so it > cleans up the RPMs that are no longer there? > > Not sure why this is happening.
That is an issue I brought up on IRC a few weeks back. [Tuesday, April 10, 2012] [14:29:14] <Authority> Is there an easy way to enable "--delete" for my rsync's when replicating repos? I'm finding that my remote cobblers are ending up with a lot of cruft after I remove packages from the master repo and they remain in the remote repos. [Tuesday, April 10, 2012] [14:30:39] <Authority> I'm using Cobbler 2.0.11 [Tuesday, April 10, 2012] [17:01:08] <jimi_c> @Authority: no, it doesn't look like there is. Looking in action_reposync.py, the command is pretty much hard-coded, and doesn't allow extra options. You can open an issue for that, if you like, and in the meantime you could edit that file to include the --delete option [Tuesday, April 10, 2012] [17:21:32] <jimi_c> replicate is, in my opinion, very broken. I'm considering doing a major rewrite on it I did not open a bug/feature request since it's already seemed to be a sore spot and instead just worked around it by running a separate "rsync --delete" on each repo on the remote side after my replicate. /* Wes Hardin */ UNIX/Linux Systems Administrator, IT Engineering Support Maxim Integrated Products | Innovation Delivered® | www.maxim-ic.com _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
