Added SaltStack

This commit is contained in:
budtmo
2019-03-01 12:46:50 +01:00
parent 7d63eac5ae
commit 4d4c22124f
5 changed files with 20 additions and 3 deletions
+12
View File
@@ -312,7 +312,19 @@ function ga(){
fi
}
function saltstack(){
if [ ! -z "${SALT_MASTER}" ]; then
echo "ENV SALT_MASTER it not empty, salt-minion will be prepared"
echo "master: ${SALT_MASTER}" >> /etc/salt/minion
salt-minion &
echo "salt-minion is running..."
else
echo "SaltStack is disabled"
fi
}
ga
saltstack
if [ "$REAL_DEVICE" = true ]; then
echo "Using real device"
run_appium