Merge branch '18870-installer' refs #18870
[arvados.git] / tools / salt-install / provision.sh
index 204c3db83fbb09e396ba7d55ee7ca252b71bd262..7107bd080497c2ca557749e9affd8938bad96bbf 100755 (executable)
@@ -226,6 +226,8 @@ T_DIR="/tmp/cluster_tests"
 
 arguments ${@}
 
+declare -A NODES
+
 if [ -s ${CONFIG_FILE} ]; then
   source ${CONFIG_FILE}
 else
@@ -244,7 +246,7 @@ if [ ! -d ${CONFIG_DIR} ]; then
   exit 1
 fi
 
-if grep -q 'fixme_or_this_wont_work' ${CONFIG_FILE} ; then
+if grep -rni 'fixme' ${CONFIG_FILE} ${CONFIG_DIR} ; then
   echo >&2 "The config file ${CONFIG_FILE} has some parameters that need to be modified."
   echo >&2 "Please, fix them and re-run the provision script."
   exit 1