Red Hat Bugzilla – Bug 816176
Enable/Disable Proxy for specific repo feeds
Last modified: 2013-10-28 08:26:21 EDT
Description of problem:
This could be considered a functionality request as well as a bug. Currently, it is possible to use a proxy by introducing the following into global config in pulp.conf...
Our use case here is that we require a proxy to be used for external feeds, such as CentOS, RHEL and EPEL. We need the proxy to be *disabled* for internal feeds, such as from Spacewalk.
Version-Release number of selected component (if applicable):
1.0.0-2.el6 (EPEL release)
Steps to Reproduce:
1. Enable proxy in pulp.conf
2. Create a repo with external feed
3. Create a repo with internal feed
4. Sync both repos
Only internal or external feed will sync depending on whether proxy is enabled or disabled.
Both internal and external feeds will sync without needing to change config.
This is low severity as the workaround is to disable/enable proxy and sync manually.
Pulp already provides for the desired functionality. Pulp supports either specifying the proxy details (1) on a per repo basis, or (2) globally.
So in your specific situation, you would set the proxy configuration *only* on the externally feed repositories.
Fixed in current release.