puppetlabs / puppetdb

Centralized Puppet Storage
http://docs.puppetlabs.com/puppetdb
Apache License 2.0
298 stars 224 forks source link

(maint) Update #location_for method to reflect RE usage #3988

Closed e-gris closed 1 month ago

e-gris commented 1 month ago

When I set PACKAGING_LOCATION=git@github.com:e-gris/packaging.git#RE-16109, and ran bundle install I got:

$ bundle install

[!] There was an error parsing `Gemfile`: Illformed requirement ["git@github.com:e-gris/packaging.git#RE-16109"]. Bundler cannot continue.

 #  from /home/eric_griswold/git/puppetlabs/puppetdb/Gemfile:25
 #  -------------------------------------------
 #  gem 'rake'
 >  gem 'packaging', *location_for(ENV['PACKAGING_LOCATION'] || '~> 0.99')
 #
 #  -------------------------------------------

Replacing that method with a copy we have elsewhere (vanagon, in this case), I was able to set PACKAGING_LOCATION:

$ bundle install
[[ ... ]]
Using packaging 0 from git@github.com:e-gris/packaging.git (at
RE-16109@a8bb131)