[Pulp-list] Using Pulp to serve RHEL 6, 7, and Centos 6, 7

Baird, Josh jbaird at follett.com
Thu Sep 22 13:50:09 UTC 2016


You just need to use your entitlement certificates for RHEL to sync the RHEL 6/7 repositories.  It doesn't matter if your Pulp server is running CentOS or not.  You can get your entitlement certificate by logging in to RHN.  Once you have that, copy it to your Pulp servers and create the RHEL repos like so:

$ pulp-admin rpm repo create -repo-id=rhel6-server-x86_64 -feed=https://cdn.redhat.com/./../../ --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem -feed-cert=/etc/pki/entitlement/yourrhncert.pem -feed-key=/etc/pki/entitlement/yourrhncert.pem

This enables you to sync 'protected' RHEL repositories.  To determine what repositories your certificate entitles you to download you can use 'rct cat-ert /etc/pki/entitlement/yourrhncert.pem'

You obviously won't need entitlement certificates to sync CentOS repositories.

Hope this helps.

Josh

From: pulp-list-bounces at redhat.com [mailto:pulp-list-bounces at redhat.com] On Behalf Of Donald Wolfe
Sent: Thursday, September 22, 2016 9:38 AM
To: pulp-list at redhat.com
Subject: [Pulp-list] Using Pulp to serve RHEL 6, 7, and Centos 6, 7

Hi,

I am trying to setup a central package repo for clients to include  RHEL 6 and 7, and CentOS 6 and 7.  I have found lots of simple examples documented where folks are using Pulp to serve either RHEL, or CentOS, or other single distros, but none for how to configure a more complex setup with multiple distros/versions.  The issue I see is around being able to download RHEL packages from a Pulp server built on a different distro like CentOS, or version RHEL 6 or 7.

We have RHEL 6 and 7 systems which are all licensed properly, but we use CentOS 6 or 7 for less critical servers and just want to be able to perform periodic updates on them all by updating dev/test environments, and waiting a month (for verifying application integrity) before updating from the same set of packages in production environments.

Is there a way to do this?  I can't even seem to tell if I can do this with Satellite Server, but would prefer not to have to buy it as it would be overkill in our environment?

Would someone please point me in the right direction?  Would love to see an example config of something similar.

Thank you, and best regards,

Don Wolfe

Disclaimer: This communication and any attachments contain private, confidential, privileged and/or proprietary information intended solely for the Recipient(s) named above. If you are not the intended Recipient, any use, dissemination, distribution or copying of the communication is strictly prohibited. If received in error, we apologize and ask that you please notify the Sender by returning this e-mail and permanently deleting this communication from your computer, including destruction of any printed copies. Any views expressed herein are not necessarily those of the Company represented by this e-mail source. No contracts, agreements or legally binding understandings may be entered into solely by an e-mail communication.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20160922/dd89dc30/attachment.htm>


More information about the Pulp-list mailing list