diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-02-09 03:18:58 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-02-09 03:21:37 +0100 |
commit | 695c4d2d08caf1032645b41746fa92a42cc29edc (patch) | |
tree | 55da011da443bd61d678ec0fa01968f0bc12dce1 /mcp | |
parent | fac7709ee330362399ddbb2c783f4655ab14442d (diff) |
salt.sh: Fix one more broken online check
Fixes: 5f95f52
Change-Id: I53e08a89b2e873829a78ff75c0f3532329ef87a3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp')
-rwxr-xr-x | mcp/scripts/salt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/salt.sh b/mcp/scripts/salt.sh index 824cada7b..439b559a6 100755 --- a/mcp/scripts/salt.sh +++ b/mcp/scripts/salt.sh @@ -100,7 +100,7 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s -e << SALT_INSTALL_END if [[ "${LOCAL_VIRT_NODES}" =~ mas ]]; then wait_for 3.0 'salt -C "mas*" test.ping' else - wait_for 3.0 'for n in ${LOCAL_VIRT_NODES}; do salt -C \${n}.* test.ping; done' + wait_for 3.0 '(for n in ${LOCAL_VIRT_NODES}; do salt -C \${n}.* test.ping || exit; done)' fi wait_for 3.0 'salt -C "E@^(${NODE_MASK}|cfg01).*" saltutil.sync_all' wait_for 3.0 'salt -C "E@^(${NODE_MASK}|cfg01).*" state.apply salt' |