Re: [Puppet Users] proper way to mirror apt.puppetlabs.com?

Adam Gibbins
2012-01-06T02:19:06Z

The recommendation for mirroring debian repositories is generally to use
something like apt-mirror or apt-cacher-ng.  Is there a reason you
can''t do
this?

These work by checking the index (e.g.
http://apt.puppetlabs.com/ubuntu/dists/lucid/main/binary-amd64/Packages)
and pulling the packages.  You can''t walk a HTTP repository, HTTP
isn''t
smart like that.

On 6 January 2012 01:46, Aaron Schaefer <aaronschaefer@gmail.com> wrote:

> I am wanting to set up a local mirror of apt.puppetlabs.com, and am a
> bit confused by the layout as well as the announcement that was made
> in this thread:
>
>
>
http://groups.google.com/group/puppet-users/browse_thread/thread/0786824ea9531fe3/f53c9006843ab8dc
>
> I''m not sure exactly what I should be pulling, as rsync://
> apt.puppetlabs.com/packages/apt
> gets everything, but it seems like a bit of a mess. The top-level
> pool/ directory is older than the top-level dists/ directory, but that
> seems to be what is recommended in the above thread. If you look just
> at the subdirectory ubuntu/ everything is in sync (all updated on Jan
> 3rd, 2012), however there are a ton of date-specific directories
> listed under http://apt.puppetlabs.com/ubuntu/dists/ that seem to have
> duplicate information.
>
> I''m hoping that someone will know the proper way to rsync this
mirror,
> so things are compatible going forward. Thanks!
>
> --
> Aaron Bull Schaefer
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.