rodjek / librarian-puppet

http://librarian-puppet.com
MIT License
693 stars 209 forks source link

Enhancement request: HTTP source #52

Open jlambert121 opened 11 years ago

jlambert121 commented 11 years ago

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.

neoice commented 10 years ago

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.

carlossg commented 10 years ago

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