From edbf361c7c6908d4b0187a0ef78d968b55a1aab5 Mon Sep 17 00:00:00 2001 From: Javier Pena Date: Fri, 7 Jul 2017 15:28:55 +0200 Subject: [PATCH] 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 --- run_tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run_tests.sh b/run_tests.sh index d1bfdc2d7..39ef678e7 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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:?}/"*