aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-08-09 15:15:36 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-08-09 15:16:45 +0400
commitbaccdc43292c3f33fd697e5b67b2867e2ea73c71 (patch)
tree3fdff0717a0b68e5164ffc81bde62182250317d7 /mcp/scripts
parent052a1626da71d232431b3a9faf576a76db61f10e (diff)
Synchronize down all of the dynamic modules
Sync all of the salt dynamic modules to make sure custom modules, states, grains & etc. are on the target nodes. Change-Id: I04f2ac0465d5381c4c07623e9383619d9b9731de Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/scripts')
-rwxr-xr-xmcp/scripts/salt.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/scripts/salt.sh b/mcp/scripts/salt.sh
index ae64143c5..8229d2486 100755
--- a/mcp/scripts/salt.sh
+++ b/mcp/scripts/salt.sh
@@ -55,6 +55,7 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s << SALT_INSTALL_END
cd ${OPNFV_FUEL_DIR}/mcp/patches && ./patch.sh patches.list formulas
salt-call state.apply salt
+ salt '*' saltutil.sync_all
salt '*' state.apply salt | fgrep -q 'No response' && salt '*' state.apply salt
salt -C 'I@salt:master' state.sls linux