Setup - Add sensor pillar to Helix

This commit is contained in:
Mike Reeves
2019-12-13 11:46:30 -05:00
parent b61d022254
commit e263d72813
2 changed files with 7 additions and 8 deletions

View File

@@ -1101,8 +1101,11 @@ salt_install_mysql_deps() {
}
sensor_pillar() {
SENSORPILLARPATH=$TMP/pillar/sensors
if [ $INSTALLTYPE == 'HELIXSENSOR' ]; then
SENSORPILLARPATH=/opt/so/saltstack
else
SENSORPILLARPATH=$TMP/pillar/sensors
fi
if [ ! -d $SENSORPILLARPATH ]; then
mkdir -p $SENSORPILLARPATH
fi