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
This commit is contained in:
Alexandre Gomes 2017-10-01 15:22:11 -03:00 committed by Niels Abspoel
parent 9ef5335f7b
commit 01564c3753
1 changed files with 2 additions and 2 deletions

View File

@ -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 %}