CSI Hosted Mirrors

OIT-CSI can publish your content and generate index files for apt and yum.

CSI Hosted Mirrors

If you have a linux software collection, either self generated or a mirror of an external site that you want to keep local, CSI can help.

If your content is a mirror managed elsewhere, we basically just add a secured webserver to the contant you provide.

If the repositories are not being indexed, we can create apt (for Debian/Ubuntu systems) or rpm (for RedHat/Centos/SuSE) indexes that will allow the native package managers to perform automated updates.

Setting up your files

CSI can publish your data from a variety of sources.

We have no provisions to allocate disk space to hold your repositories, but work closely with our partners in Platform Compute Services who can provision you with raw storage space. We can work with any other campus group to get access to disk you’re already using, of course!

AFS / Auristor

We’ll need the AFS path from you. We will then set up a pts group with read and possibly write (depends on if we’re generating your indexes, see below) to your space.

NFS (v3)

You will need to provide Read access from or Write access from the same if we’re generating indexes.

NFS (v4)

Write up coming soon! The power of kerberos should make v4 both easier, and more secure that either other option.

Automatic Indexing directory structure

At the top level, indexing assumes a folder for each operating system. These should match the os.family defined by Puppet/Facter.

Common families include

  • Debian
  • MacOS
  • RedHat
  • Solaris
  • Windows

As a convention, we also use the pseudo family name Linux for distribution of raw tarballs and other generic ‘nix files

The next level should be the product or project name for the files you’re publishing. This is where you should place your .rpm, .deb, or .tar.gz payloads for each family.

Indexes are generated every 15 minutes.

As an example, SnC distributes the Splunk packages to campus with the following paths

├── Debian
│   └── splunk
│       ├── Packages
│       ├── Packages.gz
│       ├── Release
│       ├── splunkforwarder-6.6.2-4b804538c686-linux-2.6-amd64.deb
│       └── splunkforwarder-6.6.2-4b804538c686-linux-2.6-intel.deb
├── Linux
│   └── splunk
│       ├── splunkforwarder-6.6.2-4b804538c686-Linux-i686.tgz
│       ├── splunkforwarder-6.6.2-4b804538c686-Linux-x86_64.tgz
│       └── splunkforwarder-6.6.8-6c27a8439c1e-linux-2.6-x86_64.rpm
├── MacOS
│   └── splunk
│       └── splunkforwarder-6.6.2-4b804538c686-macosx-10.9-intel.dmg
└── RedHat
    └── splunk
        ├── splunkforwarder-6.6.2-4b804538c686.i386.rpm
        ├── splunkforwarder-6.6.2-4b804538c686-linux-2.6-x86_64.rpm
        └── splunkforwarder-6.6.8-6c27a8439c1e-linux-2.6-x86_64.rpm
Tags: rhel repo
Edit me