Local repo mirroring

Hi,

I'm just planning a migration of our provisioning server from
Cobbler to Foreman, and wondered if there's any built-in support
for repo mirroring? If not, what do people use? Thanks!

a Makefile!

http://pastie.org/3259425

··· On Fri, Jan 20, 2012 at 5:28 PM, Dick Davies wrote: > Hi, > > I'm just planning a migration of our provisioning server from > Cobbler to Foreman, and wondered if there's any built-in support > for repo mirroring? If not, what do people use? Thanks!


Mike

Right now i am using mrepo
http://dag.wieers.com/home-made/mrepo/

You could also have a look at the Pulp Project
http://pulpproject.org/
which seems quite promising, but didn't have the time to check it out in
detail.

··· -- Markus

For CentOS, rsync the os & updates folders then server HTTP.

For Debian, and probably Ubuntu, apt-cacher-ng works nicely. On a default
install of it, mirror URL is http://some.accessible.host:3142/debian

I'll hop in here as I've been extensively trying to whip Pulp into shape.

It works, and the basic premise behind it is fantastic, but you WILL
encounter bugs and you WILL have
strange issues with it. Especially if you want to mirror RHEL. You cannot
sync from RHN directly, you
can only sync from their new cdn.redhat.com stuff which requires an x509
cert to authenticate. If your
licenses allow you to use 'subscription-manager' then this will work for
you.

We've been trying to build a setup around


which covers having multiple repos for each thing (live, unstable, stable)
with filters to block certain packages
from automatically syncing to the progressively more stable repos.
Unfortunately all of this is broken in Pulp
as of the last community releases and filters will force delete any
existing packages that match that filter
within a repo.

If you just use it to suck in an OS and then spit it out to clients however
it works fine.

Syncing RHEL is undocumented and so in order to be helpful:

subscription-manager register --autosubscribe --username=rhnuser
–password=rhnpassword

Adding a RHEL repo:

pulp-admin repo create --id rhel-6-server
–feed=https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os
–feed_ca=/etc/rhsm/ca/redhat-uep.pem
–feed_key=/etc/pki/entitlement/CHECKFORKEYNUM-key.pem
–feed_cert=/etc/pki/entitlement/CHECKFORKEYNUM.pem

··· On Fri, Jan 27, 2012 at 9:50 AM, Markus wrote:

Right now i am using mrepo
http://dag.wieers.com/home-made/mrepo/

You could also have a look at the Pulp Project
http://pulpproject.org/
which seems quite promising, but didn’t have the time to check it out in
detail.

Markus


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/3Zo6S93Tf7gJ.

To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.