From 24678b9d1d0dbb3ead76a17ccc45d0097a028225 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Thu, 21 Mar 2013 21:14:22 -0700 Subject: [PATCH] fix ordering issue bundle install needs to be run before librarian puppet can be used --- test_scripts/openstack_test.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/test_scripts/openstack_test.sh b/test_scripts/openstack_test.sh index 591ba3d..8f76aea 100644 --- a/test_scripts/openstack_test.sh +++ b/test_scripts/openstack_test.sh @@ -18,6 +18,12 @@ set -e set -u +# install gem dependencies +mkdir .vendor +export GEM_HOME=`pwd`/.vendor +# install gem dependencies +bundle install + # install required modules if [ $module_install_method = 'librarian' ]; then bundle exec librarian-puppet install @@ -29,13 +35,6 @@ elif [ $module_install_method = 'pmt' ]; then git clone git://github.com/puppetlabs/puppetlabs-vcsrepo modules/vcsrepo fi -# install gem dependencies -mkdir .vendor -export GEM_HOME=`pwd`/.vendor -# install gem dependencies -bundle install - - # only build out integration test environment if we are not running unit tests if [ ! $test_mode = 'unit' ]; then # set operatingsystem to use for integration tests tests