Update minion restart example to use onchanges instead of cmd.wait

This commit is contained in:
Erik Johnson 2016-09-29 23:02:10 -05:00
parent f0d561a229
commit 57ecbe6c53

View file

@ -268,9 +268,9 @@ Linux/Unix
- name: salt-minion
- require:
- pkg: salt-minion
cmd.wait:
cmd.run:
- name: echo service salt-minion restart | at now + 1 minute
- watch:
- onchanges:
- pkg: salt-minion
To ensure that **at** is installed and **atd** is running, the following states