mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #22753 from thatch45/doc_clear
fix some bad sls data in a doc
This commit is contained in:
commit
b6e803910f
@ -434,7 +434,7 @@ exist (returns ``False``). The state will run if both commands return
|
||||
|
||||
However, the state will not run if both commands return ``True``.
|
||||
|
||||
Unless requisites are resolved for each name to which they are associated.
|
||||
Unless checks are resolved for each name to which they are associated.
|
||||
|
||||
For example:
|
||||
|
||||
@ -442,9 +442,10 @@ For example:
|
||||
|
||||
deploy_app:
|
||||
cmd.run:
|
||||
- first_deploy_cmd
|
||||
- second_deploy_cmd
|
||||
- unless: some_check
|
||||
- names:
|
||||
- first_deploy_cmd
|
||||
- second_deploy_cmd
|
||||
- unless: ls /usr/bin/vim
|
||||
|
||||
In the above case, ``some_check`` will be run prior to _each_ name -- once for
|
||||
``first_deploy_cmd`` and a second time for ``second_deploy_cmd``.
|
||||
|
Loading…
Reference in New Issue
Block a user