Update defaults.inc
This commit is contained in:
19
defaults.inc
19
defaults.inc
@@ -23,17 +23,6 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
|
||||
|
||||
IFS=,
|
||||
|
||||
MYSQL_HOSTS=(${MYSQLHOSTS})
|
||||
WEB_HOSTS=(${WEBHOSTS})
|
||||
LB_HOSTS=(${LBHOSTS})
|
||||
NC_HOSTS=(${NCHOSTS})
|
||||
WPD_HOSTS=(${WPDHOSTS})
|
||||
LPD_HOSTS=(${LPDHOSTS})
|
||||
MM_HOSTS=(${MMHOSTS})
|
||||
GL_HOSTS=(${GLHOSTS})
|
||||
PW_HOSTS=(${PWHOSTS})
|
||||
WM_HOSTS=(${WMHOSTS})
|
||||
|
||||
MYSQL_SERVICES_CHECK=(${MYSQLSERVICES_CHECK})
|
||||
WEB_SERVICES_CHECK=(${WEBSERVICES_CHECK})
|
||||
LB_SERVICES_CHECK=(${LBSERVICES_CHECK})
|
||||
@@ -59,10 +48,10 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
|
||||
done
|
||||
|
||||
for ntype in "${NODE_TYPES[@]}"; do
|
||||
arr NM_HOSTS_${ntype}
|
||||
arr ${ntype}_HOSTS
|
||||
var=(${NM_HOSTS[${ntype}]})
|
||||
for host in "${var[@]}"; do
|
||||
arr_insert NM_HOSTS_${ntype} $host
|
||||
arr_insert ${ntype}_HOSTS $host
|
||||
done
|
||||
done
|
||||
|
||||
@@ -71,8 +60,8 @@ if [ -f ${FOLDER}/defaults.local.inc ]; then
|
||||
fi
|
||||
|
||||
echo "HERE: "
|
||||
# arr_get NM_HOSTS_${ntype}
|
||||
for test in "${NM_HOSTS_MYSQL[@]}"; do
|
||||
# arr_get ${ntype}_HOSTS
|
||||
for test in "${MYSQL_HOSTS[@]}"; do
|
||||
echo $test
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user