I've pushed a puppet module to Github that you can use to set up your own private Debian mirror. Go check it out on https://github.com/rgevaert/puppet-debianmirror.
To use it you should include the debianmirror class. You can optionally set some parameters. The module uses apt-mirror and it mirrors by default the architecture you are running. If you want to mirror extra architectures you can define them with the architectures parameter.
class {
'debianmirror':
mirror => 'ftp.nl.debian.org',
distributions => 'stable',
architectures => ['i386'],
components => 'main contrib non-free';
}
Add new comment