Update defaults.inc

This commit is contained in:
2023-07-03 21:20:59 -05:00
parent b0e7532bd0
commit 62a551011e

View File

@@ -59,19 +59,20 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
done
for ntype in "${NODE_TYPES[@]}"; do
echo $ntype
# var=(${NM_HOSTS[${ntype}]})
# declare "NM_HOSTS_${ntype}"=$var
arr NM_HOSTS_${ntype}
var=(${NM_HOSTS[${ntype}]})
for host in "${var[@]}"; do
arr_insert NM_HOSTS_${ntype} $host
done
done
unset IFS
fi
echo "HERE: ${NM_HOSTS_MYSQL}"
for test in "${NM_HOSTS_MYSQL[@]}"; do
echo $test
done
echo "HERE: "
arr_get NM_HOSTS_${ntype}