aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/maas
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-22 02:19:34 +0200
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-08-22 05:21:36 +0000
commit95874c0a275b8b8d1cc06d1773943564137b5064 (patch)
tree6904259b07753a1d5c87c9a25fc24e5cc0c5c970 /mcp/config/states/maas
parentfd1830cbc79de49be70cc4fe7c3b57559b47c8d9 (diff)
states: maas: Retry applying VCP VMs linux state
Running a heavy state like `linux` on all nodes (including VCP VMs) might time out the first time on slower systems. Change-Id: I21a3ad380afafa833f59e14da86aff92e254e9c7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/config/states/maas')
-rwxr-xr-xmcp/config/states/maas2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/maas b/mcp/config/states/maas
index 73deb48c0..fa5e44659 100755
--- a/mcp/config/states/maas
+++ b/mcp/config/states/maas
@@ -69,4 +69,4 @@ done
salt -C '* and not cfg01* and not mas01*' saltutil.sync_all
salt -C '* and not cfg01* and not mas01*' state.apply salt
-salt -C '* and not cfg01* and not mas01*' state.apply linux,ntp
+wait_for "salt -C '* and not cfg01* and not mas01*' state.apply linux,ntp"