Progress on testing provisioning on multiple distros. So far Debian and Ubuntu are working. Others need packages added.
This commit is contained in:
21
Config/ProvisionTests/bin/main.sh
Normal file
21
Config/ProvisionTests/bin/main.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sh -c "rm -rfv prov-test"
|
||||
git clone $REPO --branch=$BRANCH prov-test
|
||||
|
||||
cd prov-test
|
||||
|
||||
echo "Starting Executable Script"
|
||||
|
||||
tail -F /var/mail/mail &
|
||||
tail -F /var/mail/ansible &
|
||||
|
||||
logfile="/root/test.log"
|
||||
$EXEC > $logfile &
|
||||
tail -F $logfile
|
||||
|
||||
echo "*** Finished $0 @ `date` ***"
|
||||
|
||||
wait -n
|
||||
|
||||
exit $?
|
Reference in New Issue
Block a user