What software do you use for mirroring repositories for your local network?

Posted by blingmuppet@reddit | sysadmin | View on Reddit | 23 comments

Looking around to see what's good and what's not, and also would like to check my thoughts so far are reasonable.

But basically, what do you use for mirroring remote repos?

Background: Some 200 EL and Debian based machines. The usual OS repos, plus some third party ones (grafana, mariadb, docker etc). We've had some patching failures recently because one or more repos have been down at the time of patching, or mirrors blocked by geo-ip. We have good bandwidth, so speed isn't the major issue here, but I think I'd like to mirror locally for reliability above all. I just want to be able to mirror remotely and make that available to internal machines. Smart features like deduplication would be nice, but not essential. I'd like it to have a clear interface that is fairly self-explanatory so we don't need to spend much time learning to use it.

I've looked at so far:

Pulp: Seems like the learning curve is very steep, and doesn't provide a pretty Webui (I did see some third party options are available, but some seem very out of date)

Repomanager: I'm liking this one the best so far, although it's been indexing debian base for some 20 hours now, so I have some concerns about performance.

Foreman: Using it just for repo management seems overkill. It's huge and complicated to install (requires 20G of ram and 4x cpus before the installer will even run!)

uyuni: We use it already, but clients need to provide a token to access its repos. Uyuni, like Spacewalk before it, likes to manage subscriptions and push its own .repos out. Historically we've had issues with these tokens expiring and blocking repo access so I'm a little cautious about using it for this.

rsync & scripts: I think we want something a little more sophisticated than simply rsyncing remove