Pin bundler for puppet rspec jobs

bundler 2.0 requires rubygems 3.0 which is not available by default on
Ubuntu and not compatible with the ruby version on CentOS 7.

Change-Id: Id19edd37dcdbaea058dbec60cb25d2ca7560bb46
This commit is contained in:
Colleen Murphy 2019-01-03 12:25:22 +01:00
parent 80efcb0526
commit 656a86b25f
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
- name: Execute acceptance tests
shell:
cmd: |
gem install bundler --no-rdoc --no-ri --verbose
gem install bundler --no-ri --no-rdoc --verbose --version '<2.0.0'
$GEM_HOME/bin/bundle install --retry 3
export BEAKER_set={{ nodeset }}
export BEAKER_debug=yes

View File

@ -73,7 +73,7 @@
export PUPPET_GEM_VERSION='~> 3'
mkdir .bundled_gems
export GEM_HOME=`pwd`/.bundled_gems
gem install bundler --no-rdoc --no-ri --verbose
gem install bundler --no-rdoc --no-ri --verbose --version '<2.0.0'
$GEM_HOME/bin/bundle install --retry 3
# FUTURE_PARSER=yes is only supported by Puppet 3.x
if [ "3" -lt "4" ]; then