Change-Id: I7b4dc2001e07b047964f4ebbbbe0b23db7819566pr/fix/install_formulas_fix
@@ -72,7 +72,7 @@ salt_minion_service: | |||
{#- Restart salt-minion if needed but after all states are executed #} | |||
salt_minion_service_restart: | |||
cmd.wait: | |||
- name: 'while true; do salt-call saltutil.running|grep fun: && continue; salt-call --local service.restart {{ minion.service }}; done' | |||
- name: 'while true; do salt-call saltutil.running|grep fun: && continue; salt-call --local service.restart {{ minion.service }}; break; done' | |||
- shell: /bin/bash | |||
- bg: true | |||
- require: |