[baremetal] maas state: Retry sync_all on failure 39/45639/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 18 Oct 2017 22:57:22 +0000 (00:57 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 18 Oct 2017 22:59:24 +0000 (22:59 +0000)
Change-Id: Ib4aa3f2cb4fc7129d502b4332cd7fedd83a0e1fe
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 51f374b055999fbc121b624424c21ee45d061538)

mcp/config/states/maas

index d6ef5a6..a6bac89 100755 (executable)
@@ -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"