reprepro is an other mirroring tool I use.
I prefer it over apt-mirror as apt-mirror creates a whole bunch of folders based on the mirror URL: /var/spool/apt-mirror/mirror/us.archive.ubuntu.com/ubuntu
This wasn't what we needed.
Example of a reprepro configuration:
# /srv/mirrors/ubuntu/conf/distributions Codename: precise Description: Ubuntu Precise Architectures: amd64 i386 source Components: main restricted universe multiverse Update: ubuntu-precise
# /srv/mirrors/ubuntu/conf/updates Name: ubuntu-precise #VerifyRelease: <mirror-key-here> Method: http://us.archive.ubuntu.com/ubuntu Suite: precise Components: main restricted universe multiverse Architectures: amd64 i386 source
To initialize the mirror directory structure:
reprepro -b /srv/mirrors/ubuntu -V export
To start the mirror update process:
reprepro -b /srv/mirrors/ubuntu -V update precise
Unfortunately, we don't use a puppet module (yet) for that one.
reprepro is an other mirroring tool I use.
I prefer it over apt-mirror as apt-mirror creates a whole bunch of folders based on the mirror URL: apt-mirror/ mirror/ us.archive. ubuntu. com/ubuntu
/var/spool/
This wasn't what we needed.
Example of a reprepro configuration:
# /srv/mirrors/ ubuntu/ conf/distributi ons
Codename: precise
Description: Ubuntu Precise
Architectures: amd64 i386 source
Components: main restricted universe multiverse
Update: ubuntu-precise
# /srv/mirrors/ ubuntu/ conf/updates us.archive. ubuntu. com/ubuntu
Name: ubuntu-precise
#VerifyRelease: <mirror-key-here>
Method: http://
Suite: precise
Components: main restricted universe multiverse
Architectures: amd64 i386 source
To initialize the mirror directory structure:
reprepro -b /srv/mirrors/ubuntu -V export
To start the mirror update process:
reprepro -b /srv/mirrors/ubuntu -V update precise
Unfortunately, we don't use a puppet module (yet) for that one.