Bug 976435

Summary: RFE: Global Proxy support for puppet syncing
Product: [Retired] Pulp Reporter: Justin Sherrill <jsherril>
Component: puppet-supportAssignee: Barnaby Court <bcourt>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1.1CC: bcourt, mhrivnak, rbarlow
Target Milestone: ---Keywords: Triaged
Target Release: 2.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1017348 (view as bug list) Environment:
Last Closed: 2013-12-09 14:31:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 950743, 1017348    

Description Justin Sherrill 2013-06-20 14:50:14 UTC
Description of problem:

When syncing puppet content, katello needs a global proxy configuration similar to yum syncing.

Comment 1 Michael Hrivnak 2013-06-21 15:16:21 UTC
I think we'll accomplish this by using nectar for puppet syncs.

Comment 2 Randy Barlow 2013-09-05 19:37:37 UTC
I believe that Jason has submitted a pull request to use Nectar for Puppet syncs, and so given Mike's comment this may be ready to be marked POST?

Comment 3 Michael Hrivnak 2013-09-11 18:37:08 UTC
We just need to make sure that the puppet importer has a config file somewhere similar to the yum importer. As long as it exists and we can verify that nectar config values in that file are used by the importer, this RFE should be done.

Comment 5 Jeff Ortel 2013-09-26 20:54:15 UTC
build: 2.3.0-0.16.alpha

Comment 6 Preethi Thomas 2013-10-07 13:26:50 UTC
verified
[root@pulp-v2-server ~]# rpm -qa pulp-server
pulp-server-2.3.0-0.17.beta.el6.noarch
[root@pulp-v2-server ~]# 


[root@pulp-v2-server ~]# pulp-admin puppet repo create --repo-id puppet-repo --feed http://forge.puppetlabs.com --queries stdlib,mysql --proxy-host http://pulp-proxy.usersys.redhat.com --proxy-port 3128
Successfully created repository [puppet-repo]

[root@pulp-v2-server ~]# pulp-admin puppet repo sync run --repo-id puppet-repo 
+----------------------------------------------------------------------+
                 Synchronizing Repository [puppet-repo]
+----------------------------------------------------------------------+

This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.

Downloading metadata...
[==================================================] 100%
Metadata Query: 2/2 items
... completed

Downloading new modules...
[==================================================] 100%
Module: 38/38 items
... completed

Publishing modules...
[==================================================] 100%
Module: 38/38 items
... completed

Generating repository metadata...
[-]
... completed

Publishing repository over HTTP...
... completed

Publishing repository over HTTPS...
... skipped

From nectar.log

2013-10-07 09:20:54,349 urllib3.connectionpool:INFO: Starting new HTTP connection (1): pulp-proxy.usersys.redhat.com
2013-10-07 09:20:54,351 urllib3.connectionpool:INFO: Starting new HTTP connection (1): pulp-proxy.usersys.redhat.com

Comment 7 Preethi Thomas 2013-12-09 14:31:48 UTC
Pulp 2.3 released.