18870: Add message about running diagnostics
[arvados.git] / tools / salt-install / installer.sh
index 238efe86844ae2bdb130ca02de920dc804698fdd..e5ff7be4e7a95f621932ab542a675afd253aa6ce 100755 (executable)
@@ -116,9 +116,11 @@ case "$subcmd" in
            exit
        fi
 
+       set +u
        SETUPDIR=$1
        PARAMS=$2
        SLS=$3
+       set -u
 
        err=
        if [[ -z "$PARAMS" || ! -f local.params.example.$PARAMS ]] ; then
@@ -156,7 +158,9 @@ case "$subcmd" in
        echo "setup directory initialized, now go to $SETUPDIR, edit '${CONFIG_FILE}' and '${CONFIG_DIR}' as needed, then run 'installer.sh deploy'"
        ;;
     deploy)
+       set +u
        NODE=$1
+       set -u
 
        loadconfig
 
@@ -214,11 +218,16 @@ case "$subcmd" in
            deploynode $NODE
        fi
 
+       echo
+       echo "Completed deploy, run 'installer.sh diagnostics' to verify the install"
+
        ;;
     diagnostics)
        loadconfig
 
+       set +u
        declare LOCATION=$1
+       set -u
 
        if ! which arvados-client ; then
            echo "arvados-client not found, install 'arvados-client' package with 'apt-get' or 'yum'"