From 656a86b25ff6844559ad7d1003fedcbf76649b09 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Thu, 3 Jan 2019 12:25:22 +0100 Subject: [PATCH] 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 --- playbooks/infra-puppet-beaker-rspec/run.yaml | 2 +- playbooks/legacy/system-config-puppet-syntax-3/run.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/infra-puppet-beaker-rspec/run.yaml b/playbooks/infra-puppet-beaker-rspec/run.yaml index e92576b3..112805cd 100644 --- a/playbooks/infra-puppet-beaker-rspec/run.yaml +++ b/playbooks/infra-puppet-beaker-rspec/run.yaml @@ -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 diff --git a/playbooks/legacy/system-config-puppet-syntax-3/run.yaml b/playbooks/legacy/system-config-puppet-syntax-3/run.yaml index 3ec2b5ba..ae9b89ac 100644 --- a/playbooks/legacy/system-config-puppet-syntax-3/run.yaml +++ b/playbooks/legacy/system-config-puppet-syntax-3/run.yaml @@ -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