From 3b563fb59e7dfb233d4d0a07117499ac04f4a6ce Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 12 Dec 2014 16:07:19 +0000 Subject: [PATCH] Puppet apply test creates puppet directory env Make /etc/puppet/environments/production/environment.conf so that the apply test will find a default directory environment. Change-Id: I062949d6c23545c40690edc39302095b0dec3c84 --- tools/apply-test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/apply-test.sh b/tools/apply-test.sh index 1c14358284..d66ef585b5 100755 --- a/tools/apply-test.sh +++ b/tools/apply-test.sh @@ -90,6 +90,8 @@ HOST=`echo $HOSTNAME |awk -F. '{ print $1 }'` echo "127.0.1.1 $HOST.openstack.org $HOST" >> /tmp/hosts sudo mv /tmp/hosts /etc/hosts +sudo mkdir -p /etc/puppet/environments/production +sudo touch /etc/puppet/environments/production/environment.conf sudo mkdir -p /var/run/puppet sudo -E bash -x ./install_modules.sh echo "Running apply test on these hosts:"