Synchronize down all of the dynamic modules 71/38971/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 9 Aug 2017 11:15:36 +0000 (15:15 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 9 Aug 2017 11:16:45 +0000 (15:16 +0400)
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>
mcp/reclass/classes/system
mcp/scripts/salt.sh

index e0ea6a2..6421992 160000 (submodule)
@@ -1 +1 @@
-Subproject commit e0ea6a295634951cc7e7f51d7652c50f2401605e
+Subproject commit 642199251a72b38d9bce7e505bd778cf4b7dff82
index ae64143..8229d24 100755 (executable)
@@ -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