Switch puppet vertion to 4.8 for unit test

The latest puppet version of running unit test is 5.3.4. This will be
error[1]. So fix the puppet version.

[1]http://logs.openstack.org/51/543351/1/check/legacy-puppet-openstack-libraries-puppet-unit-centos-7/a4f185d/job-output.txt.gz#_2018-02-12_07_04_37_036841

Change-Id: I3a28e265b36aa9511020f52f94bc6941194a72de
This commit is contained in:
ZhongShengping 2018-02-12 16:25:59 +08:00
parent d707f6d2b0
commit a6a4ed8a7c
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@
export SCRIPT_DIR=$(cd `dirname $0` && pwd -P)
source $SCRIPT_DIR/functions
if [ "4.8" != "latest" ]; then
export PUPPET_GEM_VERSION='~> 4.8.0'
fi
install_module