Setup Script - Verify node_type gets set

This commit is contained in:
Mike Reeves
2018-05-18 14:43:43 -04:00
parent e709e63932
commit 65905d8ff0

View File

@@ -446,16 +446,16 @@ set_node_type() {
# Determine the node type based on whiplash choice # Determine the node type based on whiplash choice
if [ $INSTALLTYPE == 'STORAGENODE' ]; then if [ $INSTALLTYPE == 'STORAGENODE' ]; then
NODETYPE="storage" NODETYPE='storage'
fi fi
if [ $INSTALLTYPE == 'PARSINGNODE' ]; then if [ $INSTALLTYPE == 'PARSINGNODE' ]; then
NODETYPE='parser' NODETYPE='parser'
fi fi
if [ $INSTALLTYPE == 'HOTNODE' ]; then if [ $INSTALLTYPE == 'HOTNODE' ]; then
NODETYPE="hot" NODETYPE='hot'
fi fi
if [ $INSTALLTYPE == 'WARMNODE' ]; then if [ $INSTALLTYPE == 'WARMNODE' ]; then
NODETYPE="warm" NODETYPE='warm'
fi fi
} }
@@ -910,7 +910,6 @@ if (whiptail_you_sure); then
configure_minion node configure_minion node
set_node_type set_node_type
node_pillar node_pillar
exit
copy_minion_pillar nodes copy_minion_pillar nodes
salt_checkin salt_checkin
# Accept the Salt Key # Accept the Salt Key