[Pulp-list] pulp-puppet theory of operation/use

Steven Roberts strobert at strobe.net
Wed Jan 30 07:09:54 UTC 2013


okay, I stand corrected on the content not being published, pulp_puppet
publishes into a different spot than pulp_rpm so couldn't find it at
first.  Did some more digging and found it at:

/var/www/pulp_puppet/http/repos/

after some more poking I also came across this blog post:
http://www.pulpproject.org/2012/08/29/mirroring-puppet-forge-with-pulp/

I think I am seeing what Peter is getting at now though.  the
'puppet module' tool looks like it is expecting some forge API foo

here is the bit from puppet's forge.rb:
response =
repository.make_http_request("/modules.json?q=#{URI.escape(term)}")

so looks like the puppet module tools are expecting some URL handling
in adiditon to the basic json content.

I am wondering if some of it is related to:
http://projects.puppetlabs.com/issues/5033

Steve

On Tue, Jan 29, 2013 at 09:25:21PM -0800, Steven Roberts wrote:
> On Fri, Jan 18, 2013 at 09:55:16AM -0500, Jay Dobies wrote:
> > 
> > >so in 2.0 we've got the repo side going and in theory could then
> > >point "puppet module" at the pulp server and get modules installed
> > >and updated on the pupept master that way.
> > >
> > >Steve
> > 
> > That's exactly right.
> 
> On Wed, Jan 30, 2013 at 12:13:20AM +0000, Peter Hehn wrote:
> > Hello,
> >
> > I've only recently stumbled across Pulp, and I'm loving the repository
> > syncing side of it, but I wonder if I'm missing a trick...  I'm hoping
> > to
> > access those modules using "puppet module install / search" but as far
> > as I
> > can tell the JSON API just isn't there.
> >
> > Have I missed something in the documentation?  I can lend a hand if
> > that
> > task's outstanding (just thought I'd check before I re-invent)
> 
> Jay, I decided to try out the puppet module use to see if I can
> replicate what Peter is seeing.
> 
> I made a repo, uploaded a module and ran the publish.  but I'm not
> seeing any files in the published dir.
> 
> Running 2.1.0-0.1.alpha
> 
> Steve
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list