From 51f374b055999fbc121b624424c21ee45d061538 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 19 Oct 2017 00:57:22 +0200 Subject: [baremetal] maas state: Retry sync_all on failure Change-Id: Ib4aa3f2cb4fc7129d502b4332cd7fedd83a0e1fe Signed-off-by: Alexandru Avadanii --- mcp/config/states/maas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp') 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" -- cgit 1.2.3-korg