mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update minion restart example to use onchanges instead of cmd.wait
This commit is contained in:
parent
f0d561a229
commit
57ecbe6c53
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue