Export path when puppet 4.

This commit just exports PATH when testing against Puppet 4.

  Tests pass without this in some environments but is dependent on sudo
  configurations, to get tests passing in OpenStack Infra, this is
  required.

Change-Id: I04b486fb398aaad1a3333477995ec00a76b9da0b
This commit is contained in:
Cody Herriges 2016-03-28 20:21:34 -07:00
parent bf3bd105fd
commit 58e1dff643

View File

@ -8,6 +8,7 @@ fi
if [ "${PUPPET_VERSION}" = 4 ]; then
export PUPPET_BASE_PATH=/etc/puppetlabs/code
export PATH=${PATH}:/opt/puppetlabs/bin
else
export PUPPET_BASE_PATH=/etc/puppet
fi