summaryrefslogtreecommitdiffstats
path: root/mcp/config/states
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-19 00:57:22 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-18 22:59:24 +0000
commit096df52c4f1292a92c50e606f28146d1c2ca16db (patch)
tree23f131cdfc7768e6c61bb7f6451bb12d92d39bb8 /mcp/config/states
parent0d8c30e7544a801af6303fb037dfa90ec074c8fd (diff)
[baremetal] maas state: Retry sync_all on failure
Change-Id: Ib4aa3f2cb4fc7129d502b4332cd7fedd83a0e1fe Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 51f374b055999fbc121b624424c21ee45d061538)
Diffstat (limited to 'mcp/config/states')
-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 d6ef5a607..a6bac897d 100755
--- a/mcp/config/states/maas
+++ b/mcp/config/states/maas
@@ -78,4 +78,4 @@ salt -C 'mas01*' pillar.item\
maas:region:admin:username \
maas:region:admin:password
-salt -C '* and not cfg01* and not mas01*' saltutil.sync_all
+wait_for 10 "salt -C '* and not cfg01* and not mas01*' saltutil.sync_all"