fixes #57795 adds require docs to cloud maps

This commit is contained in:
nicholasmhughes 2020-07-05 09:02:51 -04:00 committed by Daniel Wozniak
parent de2fde5d3b
commit cf4054e8d4

View file

@ -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
===========================