aboutsummaryrefslogtreecommitdiffstats
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-19 00:57:22 +0200
commit51f374b055999fbc121b624424c21ee45d061538 (patch)
treea4bd24530b3a1d6f2eaf530f0dd68996ca107098
parent5fd088a583e235d84e638c30f747d1a3a78cd05d (diff)
[baremetal] maas state: Retry sync_all on failure
Change-Id: Ib4aa3f2cb4fc7129d502b4332cd7fedd83a0e1fe Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-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"