Pin puppet_forge gem to version 2.2.6 for tests

The latest puppet_forge version (2.2.7) requires semantic_puppet ~> 1.0,
which is not compatible with r10k.

Change-Id: Ie1ecfcc8ba579ae52007dd924851ed47a2ccb5dc
This commit is contained in:
Javier Pena 2017-07-07 15:28:55 +02:00
parent 2052808b87
commit edbf361c7c
1 changed files with 3 additions and 0 deletions

View File

@ -238,6 +238,9 @@ if [ "${INSTALL_FROM_SOURCE}" = true ]; then
export GEM_BIN_DIR=/tmp/packstackgems/bin/
export PUPPETFILE_DIR=/usr/share/openstack-puppet/modules
export GEM_HOME=/tmp/packstackgems
# puppet_forge 2.2.7 has a dependency on semantic_puppet ~> 1.0
# which is not compatible with dependency of latest r10k on semantic_puppet ~> 0.1.0
$SUDO gem install puppet_forge -v '= 2.2.6'
$SUDO gem install r10k --no-ri --no-rdoc
# make sure there is no puppet module pre-installed
$SUDO rm -rf "${PUPPETFILE_DIR:?}/"*