This commit is contained in:
2023-11-06 08:25:29 -06:00
parent 2ac1dbccf6
commit 8d9c08c2fe
2 changed files with 9 additions and 6 deletions

View File

@@ -45,12 +45,9 @@ if [ -f ${NM_FOLDER}/conf/defaults.local.inc ]; then
NODETYPES=$(for k in "${!NM_NODETYPES[@]}"; do echo "${NM_NODETYPES["$k"]} ${k}"; done | sort -f | while read desc nmtype; do echo ${nmtype}; done)
IFS=$'\n' NM_NODE_TYPES=(${NODETYPES}); unset IFS
printf "[%s]\n" "${NM_NODE_TYPES[@]}"
# printf "[%s]\n" "${NM_NODE_TYPES[@]}"
for ntype in "${NM_NODE_TYPES[@]}"; do
echo "HERE: $ntype"
arr ${ntype}_HOSTS
arr ${ntype}_SERVICES_CHECK
arr ${ntype}_DOCKERS_CHECK