ReleaseEngineering/PuppetAgain/Repositories: Difference between revisions

Jump to navigation Jump to search
add DMG info
(add DMG info)
Line 1: Line 1:
The puppet masters also host yum repositories:
= Yum Repositories =
= Repositories =
<table>
<table>
<tr><th>url</th><th>repository</th><th>arch</th><th>mirror date</th></tr>
<tr><th>url</th><th>repository</th><th>arch</th><th>mirror date</th></tr>
Line 19: Line 18:
</table>
</table>


= Sync Commands =
== Sync Commands ==


== EPEL ==
=== 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/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/
  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/
Line 27: Line 26:
Note that, as for CentOS below, the i386 mirrors were done much later than 2012-03-07 (July 2012).
Note that, as for CentOS below, the i386 mirrors were done much later than 2012-03-07 (July 2012).


== CentOS 6 ==
=== CentOS 6 ===


* Base and Updates (6.2, x86_64)
* Base and Updates (6.2, x86_64)
Line 46: Line 45:
Note that this includes significantly more than we want; we'll trim this down later with some excludes.
Note that this includes significantly more than we want; we'll trim this down later with some excludes.


== Fedora 16 ==
=== 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://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=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/
Line 52: Line 51:
  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/
  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 ==
=== 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/x86_64/ /data/repos/yum/mirrors/puppetlabs/el/6/products/x86_64/
Line 59: Line 58:
Puppet-2.7.18 does not work with the SSL certificate chaining (https://projects.puppetlabs.com/issues/15561), so for the time that it is the latest version in the repository, it has been removed and `createrepo` run to remove record of it.
Puppet-2.7.18 does not work with the SSL certificate chaining (https://projects.puppetlabs.com/issues/15561), so for the time that it is the latest version in the repository, it has been removed and `createrepo` run to remove record of it.


== Passenger ==
=== 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/
  rsync -n -av rsync://passenger.stealthymonkeys.com/rpms/rhel/6/x86_64/ /data/repos/yum/mirrors/passenger/rhel/6/2012-07-05/x86_64/
Line 67: Line 66:
* The current CentOS version is available at http://repos/repos/yum/mirrors/centos/6/latest/centos-version.txt.
* 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
* The CentOS base repos each have an images/ subdirectory, so they can be used with the 'url' command in a kickstart script
= Mac OS X DMGs =
DMGs are stored in [http://puppetagain.pub.build.mozilla.org/data/repos/DMGs repos/DMGs].  This is a flat directory, unlike the heavily nested RPM directories.  Each DMG is named $packagename-$version.dmg.
DMGs that are downloaded as-is should be documented briefly (at least with the source) in the manifest files that install them (e.g., [http://hg.mozilla.org/build/puppet/file/tip/modules/packages/manifests/puppet.pp puppet.pp]).
DMGs that are custom built should have a shell script in [http://hg.mozilla.org/build/puppet/file/tip/modules/packages/manifests modules/packages/manifests] named $package-dmg.sh which builds the DMG.  If there is a corresponding RPM (custom or stock) for the package, then the shell script can require that the source RPM be unpacked first.  See [[ReleaseEngineering/PuppetAgain/HowTo/Build_DMGs]] for more details.
canmove, Confirmed users
1,394

edits

Navigation menu