Re: [Puppet Users] proper way to mirror apt.puppetlabs.com?
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/ http://www.google.com/url?q=http%3A%2F%2Fapt.puppetlabs.com%2Fubuntu%2Fdists%2Flucid%2Fmain%2Fbinary-amd64%2FPackagessa=Dsntz=1usg=AFQjCNEMgQIcO-RtBwxGLwIxMM9Op9kowg is no longer present. Instead puppet packages are found at http://apt.puppetlabs.com/dists/ http://www.google.com/url?q=http%3A%2F%2Fapt.puppetlabs.com%2Fubuntu%2Fdists%2Flucid%2Fmain%2Fbinary-amd64%2FPackagessa=Dsntz=1usg=AFQjCNEMgQIcO-RtBwxGLwIxMM9Op9kowg 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 aarons...@gmail.com javascript: 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...@googlegroups.com javascript:. To unsubscribe from this group, send email to puppet-users...@googlegroups.com javascript:. 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 puppet-users+unsubscr...@googlegroups.com. 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.
Re: [Puppet Users] proper way to mirror apt.puppetlabs.com?
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 taher.boh...@gslab.com 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 aarons...@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...@googlegroups.com. To unsubscribe from this group, send email to puppet-users...@googlegroups.com. 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 puppet-users+unsubscr...@googlegroups.com. 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 puppet-users+unsubscr...@googlegroups.com. 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.
Re: [Puppet Users] proper way to mirror apt.puppetlabs.com?
When the announcement was made, the rsync configuration was not changed, so the excludes were not in sync with reality. I have just reviewed the settings on the rsync server and tested better excludes. The following command is now working like I expect. rsync -av --copy-links --del rsync://apt.puppetlabs.com/packages/apt/ apt/ Let me know if this helps you. -- Zach Leslie :: Puppet Labs :: 503.208.9791 -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] proper way to mirror apt.puppetlabs.com?
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 aaronschae...@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+unsubscr...@googlegroups.com. 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 post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.