Skip to content

Commit

Permalink
Change cmd.wait to cmd.run (#336)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alejdg authored and aboe76 committed Oct 1, 2017
1 parent 9ef5335 commit 01564c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/minion.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 01564c3

Please sign in to comment.