mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove duplicate file id in watch_any doc example
This commit is contained in:
parent
85284caaf9
commit
f7223a3bbf
1 changed files with 2 additions and 6 deletions
|
@ -410,16 +410,12 @@ exactly like the ``require`` requisite (the watching state will execute if
|
|||
service.running:
|
||||
- watch_any:
|
||||
- file: /etc/apache2/sites-available/site1.conf
|
||||
- file: /etc/apache2/sites-available/site2.conf
|
||||
file.managed:
|
||||
- name: /etc/apache2/sites-available/site1.conf
|
||||
- source: salt://apache2/files/site1.conf
|
||||
file.managed:
|
||||
- name: /etc/apache2/sites-available/site2.conf
|
||||
- source: salt://apache2/files/site2.conf
|
||||
|
||||
In this example, the service will be reloaded/restarted if either of the
|
||||
file.managed states has a result of True and has changes.
|
||||
In this example, the service will be reloaded/restarted if the
|
||||
file.managed state has a result of True and has changes.
|
||||
|
||||
.. _requisites-prereq:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue