Add warning about destroying maps

This commit is contained in:
Joseph Hall 2015-06-01 15:25:58 -06:00
parent 02bfb254d6
commit ca535a6ff4

View file

@ -97,6 +97,15 @@ A map file may also be used with the various query options:
Proceed? [N/y]
.. warning:: Specifying Nodes with Maps on the Command Line
Specifying the name of a node or nodes with the maps options on the command
line is *not* supported. This is especially important to remember when
using ``--destroy`` with maps; ``salt-cloud`` will ignore any arguments
passed in which are not directly relevant to the map file. *When using
``--destroy`` with a map, every node in the map file will be deleted!*
Maps don't provide any useful information for destroying individual nodes,
and should not be used to destroy a subset of a map.
Setting up New Salt Masters
===========================
@ -146,4 +155,4 @@ Another example:
local_master: True
The above example makes the ``web3`` minion answer to the local master, not the
newly created master.
newly created master.