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
This commit is contained in:
James E. Blair 2014-08-27 15:39:26 -07:00
parent 68193c6663
commit 00302e2240
1 changed files with 3 additions and 0 deletions

View File

@ -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