Merge pull request #233 from apenney/add-back-location
Make sure location_for is used when installing Puppet.
This commit is contained in:
commit
e6c1aa6a02
1 changed files with 4 additions and 2 deletions
6
Gemfile
6
Gemfile
|
@ -25,8 +25,10 @@ group :development, :test do
|
|||
gem 'beaker-rspec', :require => false
|
||||
end
|
||||
|
||||
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
||||
gem 'puppet', puppetversion, :require => false
|
||||
ENV['GEM_PUPPET_VERSION'] ||= ENV['PUPPET_GEM_VERSION']
|
||||
puppetversion = ENV['GEM_PUPPET_VERSION']
|
||||
if puppetversion
|
||||
gem 'puppet', *location_for(puppetversion)
|
||||
else
|
||||
gem 'puppet', :require => false
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue