Setup Script - Fix race condition with the common module

This commit is contained in:
Mike Reeves
2018-11-26 19:53:04 -05:00
parent 8913182d73
commit 689df66267

View File

@@ -21,12 +21,14 @@ else
echo " guid: $GUID" >> /opt/so/saltstack/pillar/data/$1.sls
if [ $TYPE == 'sensorstab' ]; then
echo " monint: $MONINT" >> /opt/so/saltstack/pillar/data/$1.sls
salt-call state.apply common
salt-call state.apply utility
fi
if [ $TYPE == 'evaltab' ]; then
echo " monint: $MONINT" >> /opt/so/saltstack/pillar/data/$1.sls
fi
if [ $TYPE == 'nodestab' ]; then
salt-call state.apply common
salt-call state.apply utility
fi
fi