瀏覽代碼

Add lost break into while true loop

Change-Id: I7b4dc2001e07b047964f4ebbbbe0b23db7819566
pr/fix/install_formulas_fix
Filip Pytloun 7 年之前
父節點
當前提交
95ccd0894d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      salt/minion/service.sls

+ 1
- 1
salt/minion/service.sls 查看文件

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

Loading…
取消
儲存