mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Modular Systems: Document saltenvs and modules
This commit is contained in:
parent
4c8ecb90f0
commit
8cbe82e039
1 changed files with 9 additions and 3 deletions
|
@ -55,9 +55,6 @@ prepended by underscore, such as:
|
|||
Modules must be synced before they can be used. This can happen a few ways,
|
||||
discussed below.
|
||||
|
||||
.. note:
|
||||
Using saltenvs besides ``base`` may not work in all contexts.
|
||||
|
||||
Sync Via States
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -78,6 +75,15 @@ or specific dynamic modules. The ``saltutil.sync_*``
|
|||
:py:mod:`runner functions <salt.runners.saltutil>` can be used to sync modules
|
||||
to minions and the master, respectively.
|
||||
|
||||
About saltenvs
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
In either of the above cases, which saltenvs are synced from are based on the topfiles. (Unless specified manually.)
|
||||
|
||||
The minion syncs modules from saltenvs that mention the minion in the saltenv's topfile.
|
||||
|
||||
That is, for each saltenv on the file server, if a minion is mentioned in that saltenv's topfile, the minion will load modules from that saltenv.
|
||||
|
||||
|
||||
The extmods Directory
|
||||
---------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue