Skip to content

Commit

Permalink
Change cmd.wait to cmd.run (saltstack-formulas#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 ixs committed Mar 10, 2018
1 parent 7d13d31 commit 71e58c0
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 71e58c0

Please sign in to comment.