ReleaseEngineering/PuppetAgain/Repositories

The puppet masters also host yum repositories:

Repositories

urlrepositoryarchmirror date
repos/yum/mirrors/epel/6/latest/x86_64EPEL 6x86_642012-03-07
repos/yum/mirrors/epel/6/latest/i386EPEL 6i3862012-03-07*
repos/yum/mirrors/centos/6/latest/os/x86_64CentOS 6 Basex86_642012-03-07
repos/yum/mirrors/centos/6/latest/os/i386CentOS 6 Basei3862012-03-07*
repos/yum/mirrors/centos/6/latest/updates/x86_64CentOS 6 Updatesx86_642012-03-07
repos/yum/mirrors/centos/6/latest/updates/i386CentOS 6 Updatesi3862012-03-07*
repos/yum/mirrors/fedora/16/latest/releases/Everything/i386/osFedora 16 Basei386
repos/yum/mirrors/fedora/16/latest/releases/Everything/x86_64/osFedora 16 Basex86_64
repos/yum/mirrors/fedora/16/latest/updates/i386Fedora 16 Updatesi3862012-03-07
repos/yum/mirrors/fedora/16/latest/updates/x86_64Fedora 16 Updatesx86_642012-03-07
repos/yum/mirrors/puppetlabs/el/6/products/x86_64Puppetlabsx86_64
repos/yum/mirrors/passenger/rhel/6/latest/x86_64Passengerx86_642012-07-05
repos/yum/releng/public/CentOS/6/noarchReleng CentOS 6 Custom RPMsnoarch
repos/yum/releng/public/CentOS/6/x86_64Releng CentOS 6 Custom RPMsx86_64

Sync Commands

EPEL

rsync -n --no-p -rv --delete --size-only rsync://mirror.unl.edu/fedora-epel/6/x86_64/ /data/repos/yum/mirrors/epel/6/2012-03-07/x86_64/
rsync -n --no-p -rv --delete --size-only rsync://mirror.unl.edu/fedora-epel/6/i386/ /data/repos/yum/mirrors/epel/6/2012-03-07/i386/

Note that, as for CentOS below, the i386 mirrors were done much later than 2012-03-07 (July 2012).

CentOS 6

  • Base and Updates (6.2, x86_64)
rsync -n --no-p --delete --size-only -rv --exclude=EFI --exclude=drpms --exclude=images --exclude=isolinux --exclude='RPM-GPG-KEY*' rsync://mirrors.usc.edu/centos/6/os/x86_64/ /data/repos/yum/mirrors/centos/6/2012-03-07/os/x86_64
rsync -n --no-p -rv --exclude=drpms rsync://mirrors.usc.edu/centos/6/updates/x86_64/ /data/repos/yum/mirrors/centos/6/2012-03-07/updates/x86_64

This was badly botched. Among other things, group information was omitted from the repodata.

  • Base and Updates (6.2, i386)
rsync -n --exclude isolinux -aP rsync://linux.mirrors.es.net/centos/6.2/os/i386/ /data/repos/yum/mirrors/centos/6/2012-03-07/updates/i386/
rsync -n --exclude drpms -aP rsync://linux.mirrors.es.net/centos/6.2/updates/i386/ /data/repos/yum/mirrors/centos/6/2012-03-07/os/i386/

NOTE: the i386 CentOS 6.2 repos were mirrored in July of 2012, but are in the 2012-03-07 directory. See bug 773379.

  • Base and Updates (6.3 and higher)
rsync -n -aP  --exclude isos --exclude images --delete --delete-excluded rsync://linux.mirrors.es.net/centos/6.3/ /data/repos/yum/mirrors/centos/6/2012-07-12/

Note that this includes significantly more than we want; we'll trim this down later with some excludes.

Fedora 16

rsync -n --no-p --delete --size-only -rv --exclude=EFI --exclude=drpms --exclude=images --exclude=isolinux --exclude='RPM-GPG-KEY*' rsync://mirrors.usc.edu/fedora/linux/releases/16/Everything/i386/os/ /data/repos/yum/mirrors/fedora/16/2012-03-07/releases/Everything/i386/os/
rsync -n --no-p --delete --size-only -rv --exclude=EFI --exclude=drpms --exclude=images --exclude=isolinux --exclude='RPM-GPG-KEY*' rsync://fedora.osuosl.org/fedora/linux/releases/16/Everything/x86_64/os/ /data/repos/yum/mirrors/fedora/16/2012-03-07/releases/Everything/x86_64/os/
rsync -n --no-p --delete --size-only -rv --exclude=drpms --exclude=debug rsync://fedora.osuosl.org/fedora/linux/updates/16/i386/ /data/repos/yum/mirrors/fedora/16/2012-03-07/updates/i386/
rsync -n --no-p --delete --size-only -rv --exclude=drpms --exclude=debug rsync://fedora.osuosl.org/fedora/linux/updates/16/x86_64/ /data/repos/yum/mirrors/fedora/16/2012-03-07/updates/x86_64/

PupppetLabs

rsync -n -rLv --size-only rsync://yum.puppetlabs.com/packages/yum/el/6/products/x86_64/ /data/repos/yum/mirrors/puppetlabs/el/6/products/x86_64/
rsync -n -rLv --size-only rsync://yum.puppetlabs.com/packages/yum/el/6/products/i386/ /data/repos/yum/mirrors/puppetlabs/el/6/products/i386/

Passenger

rsync -n -av rsync://passenger.stealthymonkeys.com/rpms/rhel/6/x86_64/ /data/repos/yum/mirrors/passenger/rhel/6/2012-07-05/x86_64/

Notes

  • Dynamic repositories are snapshots that are made on demand, where latest always points to the latest active snapshot. They are *not* automatically updated. The date on which they were most recently mirrored is given above.
  • The current CentOS version is available at http://repos/repos/yum/mirrors/centos/6/latest/centos-version.txt.
  • The CentOS base repos each have an images/ subdirectory, so they can be used with the 'url' command in a kickstart script