diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-08-09 15:15:36 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-08-09 15:16:45 +0400 |
commit | baccdc43292c3f33fd697e5b67b2867e2ea73c71 (patch) | |
tree | 3fdff0717a0b68e5164ffc81bde62182250317d7 /mcp/scripts/salt.sh | |
parent | 052a1626da71d232431b3a9faf576a76db61f10e (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/salt.sh')
-rwxr-xr-x | mcp/scripts/salt.sh | 1 |
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 |