Taher, The readme (http://apt.puppetlabs.com/README.txt) suggests using `rsync -av --copy-links --del rsync://apt.puppetlabs.com/packages/apt/ /var/apt/` to mirror the apt repos, which should work.
Hope that helps. On Wed, Apr 1, 2015 at 1:32 AM, Taher Bohari <[email protected]> wrote: > Hello, > > I want to mirror puppet packages locally. I am trying to mirror it using > "cobbler reposync". > > But I am getting the error as http://apt.puppetlabs.com/ubuntu/dists/lucid/ > is no longer present. > > Instead puppet packages are found at http://apt.puppetlabs.com/dists/ > location. Using this path also gives me the error. > > Does any one knows how to mirror the puppet packages? > > -- > Thanks. > > > On Friday, January 6, 2012 at 7:49:06 AM UTC+5:30, Adam Gibbins wrote: >> >> 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 <[email protected]> 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 [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/puppet-users?hl=en. >>> >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/3fb59986-d04c-45cb-be17-7e8e170770f1%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Matthaus Owens Puppet Labs PuppetConf 2015 is coming to Portland, Oregon! Join us October 5-9. Register now to take advantage of the Early Adopter discount —save $349! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACD%3DwAcj_Lh1QQwL%2B5Xfmfcf%2B-vovHO6hvqE%3DxoOxMWbzskG-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
