Use sudo to move applytest results
We're wanting to more properly set permissions on the ansible puppet role manifest dir. This ends up setting mode 0755 with ownership of root:root on the dir. As a result sudo is necessary to move these contents later. Change-Id: I6b6aa79e8e8b63f4665679ab183a8551f0dd521e
This commit is contained in:
parent
b05a98440a
commit
8d932bc706
@ -20,7 +20,7 @@ if [[ ! -d applytest ]] ; then
|
|||||||
mkdir ~/applytest
|
mkdir ~/applytest
|
||||||
fi
|
fi
|
||||||
|
|
||||||
trap "mv ~/applytest applytest" EXIT
|
trap "sudo mv ~/applytest applytest" EXIT
|
||||||
|
|
||||||
# Split the class defs.
|
# Split the class defs.
|
||||||
csplit -sf ~/applytest/puppetapplytest $PUPPET_MANIFEST '/^}$/' {*}
|
csplit -sf ~/applytest/puppetapplytest $PUPPET_MANIFEST '/^}$/' {*}
|
||||||
|
Loading…
Reference in New Issue
Block a user