Make sure we refresh modules synchronously
bsc#1124784
@@ -12,5 +12,8 @@ def sync_all():
__utils__['caasp_log.debug']('orch: refreshing all')
__salt__['saltutil.sync_all'](refresh=True)
+ # make sure we refresh modules synchronously
+ __salt__['saltutil.refresh_modules'](async=False) # noqa: W606
+
__utils__['caasp_log.debug']('orch: synchronizing the mine')
__salt__['saltutil.runner']('mine.update', tgt='*', clear=True)
