mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fixes #57795 adds require docs to cloud maps
This commit is contained in:
parent
de2fde5d3b
commit
cf4054e8d4
1 changed files with 20 additions and 0 deletions
|
@ -148,6 +148,26 @@ A map file may also be used with the various query options:
|
|||
and should not be used to destroy a subset of a map.
|
||||
|
||||
|
||||
Requiring Other Instances
|
||||
=========================
|
||||
|
||||
The ``requires`` directive can be used in map files to ensure that one instance
|
||||
is created and available before another is created.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
fedora_high:
|
||||
- db1:
|
||||
size: m5.xlarge
|
||||
- web1:
|
||||
size: m5.large
|
||||
requires:
|
||||
- db1
|
||||
|
||||
This requisite is passed to the instance definition dicitonary in a map file
|
||||
and accepts a list of instance names as defined in the map.
|
||||
|
||||
|
||||
Setting up New Salt Masters
|
||||
===========================
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue