浏览代码

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:

正在加载...
取消
保存