<div dir="ltr">Hi,<div><br></div><div>I have done one more test with pulp today, and it did not work, see below, I have set my <font face="Calibri, sans-serif"><span style="font-size:15px">module_repository in puppet.conf main section to the pulp puppet repo. tried to use the PMT to install or search, however it reports the error blow as it seems to reference the wrong URL</span></font></div><div><br></div><div><br></div><div><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">###  puppet.conf<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">[main]<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">module_repository = <a href="http://pulp.example.com/pulp/puppet/" target="_blank">http://pulp.example.com/pulp/puppet/</a>test-repo<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">##########</p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">### and the test  run like :<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">[root@pulp_client ~] $ puppet module search ssh<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Notice: Searching <a href="http://pulp.example.com/pulp/puppet/test-repo/" target="_blank">http://pulp.example.com/pulp/puppet/test-repo/</a><u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Error: Request to Puppet Forge failed.<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">  The server being queried was <a href="http://pulp.example.com/v3/modules?query=ssh" target="_blank">http://pulp.example.com/v3/modules?query=ssh</a><u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">  The HTTP response we received was '404 Not Found'<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Error: Try 'puppet help module search' for usage<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u>################ <u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b>The pulp server http log:<u></u><u></u></b></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">[Thu Dec 04 16:26:11 2014] [error] [client 10.8.81.102] File does not exist: /var/www/html/v3<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">[Thu Dec 04 16:29:39 2014] [error] [client 10.8.81.102] File does not exist: /var/www/html/v3<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">[Thu Dec 04 16:31:33 2014] [error] [client 10.8.81.102] File does not exist: /var/www/html/v3<u></u><u></u></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">[Thu Dec 04 16:31:56 2014] [error] [client 10.8.81.102] File does not exist: /var/www/html/v3</p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 December 2014 at 06:36, Walid A. Shaari <span dir="ltr"><<a href="mailto:walid.shaari@linux.com" target="_blank">walid.shaari@linux.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Unfortunately not, the internal pulp machine have access only to the internal network. the puppet repo was able to solve it with zipping up all module tarballs and using the upload command to populate the internal forge, what is left is how to make Puppet aware of the internal forge, I had a suggestion to set 







<p>module_repository in puppet.conf file, will try it later and see if that works.</p><p><br></p><p>for the RHEL repo, not sure yet if it is possible to use Satellite 5 as a feed channel, not RHN</p><p><br></p><p>Best regards,</p><p>Walid</p></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 3 December 2014 at 23:49, Barnaby Court <span dir="ltr"><<a href="mailto:bcourt@redhat.com" target="_blank">bcourt@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Does the Pulp machine have access to both the internal and external network?  If so you can use a puppet repo to sync the modules from puppet forge and make them available to the internal clients.  <a href="https://pulp-puppet-user-guide.readthedocs.org/en/latest/recipes.html#mirror-puppet-forge" target="_blank">https://pulp-puppet-user-guide.readthedocs.org/en/latest/recipes.html#mirror-puppet-forge</a><br>
<br>
Regards,<br>
<br>
-Barnaby<br>
<div><div><br>
----- Original Message -----<br>
From: "Walid A. Shaari" <<a href="mailto:walid.shaari@linux.com" target="_blank">walid.shaari@linux.com</a>><br>
To: <a href="mailto:pulp-list@redhat.com" target="_blank">pulp-list@redhat.com</a><br>
Sent: Wednesday, December 3, 2014 10:01:10 AM<br>
Subject: [Pulp-list] Disconnected forge/rpm repos<br>
<br>
Hi,<br>
<br>
I am trying to use pulp to help with disconnected forge, and rhn network. i have access to satellite 5.6 and no access at all to puppet forge.<br>
<br>
<br>
if i have a machine that is connected to the internet with pulp how would i be able to export the repo to an internal pulp forge repo?<br>
<br>
would it be possible to connect pulp 2.5 to Satellite, if so could you please let me know how? if not possible can i again export from the internet connected machine to the internal disconnected rpm repo?<br>
<br>
<br>
Thanks,<br>
<br>
Walid<br>
<br>
<br>
</div></div><div><div>_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>