librarian-puppet
librarian-puppet copied to clipboard
Enhancement request: HTTP source
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.
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.
well, those urls are good for the forge v1 API, I don't know what API is Pulp implementing