Pārlūkot izejas kodu

Add lost break into while true loop

Change-Id: I7b4dc2001e07b047964f4ebbbbe0b23db7819566
pr/fix/install_formulas_fix
Filip Pytloun pirms 7 gadiem
vecāks
revīzija
95ccd0894d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      salt/minion/service.sls

+ 1
- 1
salt/minion/service.sls Parādīt failu

@@ -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:

Notiek ielāde…
Atcelt
Saglabāt