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 done
for ntype in "${NODE_TYPES[@]}"; do for ntype in "${NODE_TYPES[@]}"; do
echo $ntype arr NM_HOSTS_${ntype}
# var=(${NM_HOSTS[${ntype}]}) var=(${NM_HOSTS[${ntype}]})
# declare "NM_HOSTS_${ntype}"=$var for host in "${var[@]}"; do
arr_insert NM_HOSTS_${ntype} $host
done
done done
unset IFS unset IFS
fi fi
echo "HERE: ${NM_HOSTS_MYSQL}" echo "HERE: "
for test in "${NM_HOSTS_MYSQL[@]}"; do arr_get NM_HOSTS_${ntype}
echo $test
done