summaryrefslogtreecommitdiffstats
path: root/mcp/scripts/salt.sh
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-10-16 14:24:13 +0400
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-16 20:20:29 +0000
commit1b0260a68db07fa0dd113f61b823dd99bc15085e (patch)
treee932023296aeb371207f3c2848908abbc3060dc8 /mcp/scripts/salt.sh
parent94825e25dcc5bf4a8490690fc1cf423df0e9d7fe (diff)
[ovs/dpdk] Return true on linux.network state
linux.network state is expected to be down until node reboot to activate required hugepages therefore return true in any case. Change-Id: I61deac12b9ac212c5f79cdcce30cda8e5d24413b Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 044f49fd195526d8c00967fb9a0b6b1ab0a36c14)
Diffstat (limited to 'mcp/scripts/salt.sh')
-rwxr-xr-xmcp/scripts/salt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/salt.sh b/mcp/scripts/salt.sh
index df0ef70fb..b7a2aa837 100755
--- a/mcp/scripts/salt.sh
+++ b/mcp/scripts/salt.sh
@@ -62,7 +62,7 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s -e << SALT_INSTALL_END
salt '*' state.apply salt | grep -Fq 'No response' && salt '*' state.apply salt
salt -C 'I@salt:master' state.sls linux
- salt -C '* and not cfg01*' state.sls linux
+ salt -C '* and not cfg01*' state.sls linux || true
salt -C '* and not cfg01*' pkg.upgrade refresh=False
salt '*' state.sls ntp