From 00302e2240766cf2a5a5683e3a8ea0675c5d3afa Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 27 Aug 2014 15:39:26 -0700 Subject: [PATCH] Remove /etc/puppet/modules on apply test To make sure it is not affected by previous usage (for instance the bootstrapping of the node itself). Change-Id: I7a26d92e25305a4ba3045d9ccf9d8da0136a7281 --- test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test.sh b/test.sh index 9114d20908..54e1380319 100755 --- a/test.sh +++ b/test.sh @@ -3,6 +3,9 @@ ROOT=$(readlink -fn $(dirname $0)) MODULE_PATH="${ROOT}/modules:/etc/puppet/modules" +sudo rm -fr /etc/puppet/modules +sudo mkdir -p /etc/puppet/modules + if [[ ! -d applytest ]] ; then mkdir applytest fi