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:
parent
68193c6663
commit
00302e2240
3
test.sh
3
test.sh
@ -3,6 +3,9 @@
|
|||||||
ROOT=$(readlink -fn $(dirname $0))
|
ROOT=$(readlink -fn $(dirname $0))
|
||||||
MODULE_PATH="${ROOT}/modules:/etc/puppet/modules"
|
MODULE_PATH="${ROOT}/modules:/etc/puppet/modules"
|
||||||
|
|
||||||
|
sudo rm -fr /etc/puppet/modules
|
||||||
|
sudo mkdir -p /etc/puppet/modules
|
||||||
|
|
||||||
if [[ ! -d applytest ]] ; then
|
if [[ ! -d applytest ]] ; then
|
||||||
mkdir applytest
|
mkdir applytest
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user