Restart Elastic on addition of node.

This commit is contained in:
Mike Reeves committed 2020-12-07 14:09:41 -05:00
1 parent 94253e92a6
commit 8ea088c3fc
2 files changed
+5 -6

No files matched your search

+3 -2
View File
@@ -54,7 +54,8 @@ if [ $TYPE == 'evaltab' ] || [ $TYPE == 'standalonetab' ]; then
salt-call state.apply utility queue=True
fi
fi
#if [ $TYPE == 'nodestab' ]; then
if [ $TYPE == 'nodestab' ]; then
salt-call state.apply elasticseach
# echo " nodetype: $NODETYPE" >> $local_salt_dir/pillar/data/$TYPE.sls
# echo " hotname: $HOTNAME" >> $local_salt_dir/pillar/data/$TYPE.sls
#fi
fi