Fix puppet gem version in puppet-unit gates

The version provided by puppet_version isn't restrictive enough.
Appending .0 to the puppet gem version makes sure the correct minor
version is installed by bundler.

Updating the list of puppet_version in the puppet-module-unit job-group
isn't a desired fix. It would have undesired side effects such as
renaming Jenkins jobs and misleading the user into thinking
puppet modules are tested against 2.6.0 when 2.6.x is actually used.

Change-Id: I8e19df76bf8483ea65dff5095ed1a03db408ecf6
Reviewed-on: https://review.openstack.org/30187
Reviewed-by: Dan Bode <bodepd@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Mathieu Gagné 2013-05-22 18:39:31 -04:00 committed by Jenkins
parent 798fdcda55
commit 84bcd56e4a

View File

@ -8,7 +8,7 @@
builders:
- gerrit-git-prep
- shell: |
export PUPPET_GEM_VERSION='~> {puppet_version}'
export PUPPET_GEM_VERSION='~> {puppet_version}.0'
mkdir .bundled_gems
export GEM_HOME=`pwd`/.bundled_gems
bundle install