Fix puppet version for noop tests

During noop run the latest version of puppet is installed even if
initial Gemfile has a specific version as bundler looks for Gemfiles
recursively.

Fuel-CI: disable
Closes-Bug: 1565007

Change-Id: Ie39a556bed6d5db1e9b0334953ec9cc94746a169
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
This commit is contained in:
Sergii Golovatiuk 2016-04-01 18:51:33 +02:00
parent 3d44e18d9d
commit 404e6eda9d

View File

@ -5,10 +5,10 @@ group :development, :test do
gem 'librarian-puppet-simple', :require => false gem 'librarian-puppet-simple', :require => false
end end
if puppetversion = ENV['PUPPET_GEM_VERSION'] if ENV['PUPPET_GEM_VERSION']
gem 'puppet', puppetversion, :require => false gem 'puppet', ENV['PUPPET_GEM_VERSION'], :require => false
else else
gem 'puppet', :require => false gem 'puppet', '~> 3.8.0', :require => false
end end
# vim:ft=ruby # vim: set ft=ruby ts=2 sw=2 tw=0 et :