瀏覽代碼

Change cmd.wait to cmd.run (#336)

Changing cmd.wait to cmd.run as recomended on the documentation: https://docs.saltstack.com/en/latest/ref/states/all/salt.states.cmd.html#salt.states.cmd.wait
tags/v0.57.0
Alexandre Gomes 7 年之前
父節點
當前提交
01564c3753
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      salt/minion.sls

+ 2
- 2
salt/minion.sls 查看文件

@@ -50,12 +50,12 @@ at:
pkg.installed: []

restart-salt-minion:
cmd.wait:
cmd.run:
- name: echo salt-call --local service.restart salt-minion | at now + 1 minute
- order: last
- require:
- pkg: at
- watch:
- onchanges:
{%- if salt_settings.install_packages %}
- pkg: salt-minion
{%- endif %}

Loading…
取消
儲存