librarian-puppet icon indicating copy to clipboard operation
librarian-puppet copied to clipboard

Enhancement request: HTTP source

Open jlambert121 opened this issue 12 years ago • 2 comments

All of our modules are packaged by Jenkins and stored in Artifactory. It would be nice to use those artifacts via http. Something along the lines of:

httpsource "http://artifactory.mydomain.com/"

mod 'jlambert/apache',
  :http_path => 'puppet-local/'
  :ref => '1.1.1'

which would fetch http://artifactory.mydomain.com/puppet-local/jlambert-apache-1.1.1.tar.gz. There might need to be some more flexibility in the http pathing, but that's my simple use case.

jlambert121 avatar Oct 24 '12 01:10 jlambert121

we're mirroring Puppet Forge using Pulp (http://www.pulpproject.org/2012/08/29/mirroring-puppet-forge-with-pulp/). we then build in-house modules via Jenkins and store them in Pulp.

librarian attempts to make API calls that don't exist:

http://repo/pulp/puppet/forge/api/v1/releases.json?module=puppetlabs/concat

an HTTP source could solve this for us, although full Pulp support would be preferred.

neoice avatar Aug 05 '14 19:08 neoice

well, those urls are good for the forge v1 API, I don't know what API is Pulp implementing

carlossg avatar Aug 05 '14 19:08 carlossg