mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Clarified where the top.sls file goes
This commit is contained in:
parent
6075bee8f4
commit
8035751678
2 changed files with 4 additions and 3 deletions
|
@ -73,7 +73,7 @@
|
|||
##########################################
|
||||
# The state system uses a "top" file to tell the minions what environment to
|
||||
# use and what modules to use. The state_top file is defined relative to the
|
||||
# root of the base environment.
|
||||
# root of the base environment as defined in "File Server settings" below.
|
||||
#state_top: top.sls
|
||||
#
|
||||
# The external_nodes option allows Salt to gather data that would normally be
|
||||
|
|
|
@ -43,8 +43,9 @@ Restart the Salt master in order to pick up this change:
|
|||
Preparing the Top File
|
||||
======================
|
||||
|
||||
On the master in the directory you specified in the previous step, create a new
|
||||
file called :conf_master:`top.sls <state_top>` and add the following:
|
||||
On the master in the directory you uncommented in the previous step
|
||||
(``/srv/salt`` by default), create a new file called
|
||||
:conf_master:`top.sls <state_top>` and add the following:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue