From bf9b5db6ca36dd6172572c26371edfd4ff4434af Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 15 Mar 2020 10:50:59 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 09ea6e46..3a6930cd 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1254,11 +1254,13 @@ SERVICE(){ NT_HOSTS=NC_HOSTS[@] NT_HOST=NC_HOSTS[0] NTS1=('NC'); NTS=NTS1[@] - else + elif [ "${1}" = "nginx" ]; then NT_HOSTS=WEB_HOSTS[@] NT_HOST=WEB_HOSTS[0] NTS1=('WEB'); NTS=NTS1[@] # NTS=$NODE_TYPES + else + NTS=(${NODE_TYPES[*]}) fi if [ "${3}" != "q" ]; then