mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #44434 from whytewolf/1837
add a note that describes grain rebuilding on restart and refresh
This commit is contained in:
commit
91d46d4cfc
1 changed files with 6 additions and 0 deletions
|
@ -298,3 +298,9 @@ Syncing grains can be done a number of ways, they are automatically synced when
|
|||
above) the grains can be manually synced and reloaded by calling the
|
||||
:mod:`saltutil.sync_grains <salt.modules.saltutil.sync_grains>` or
|
||||
:mod:`saltutil.sync_all <salt.modules.saltutil.sync_all>` functions.
|
||||
|
||||
.. note::
|
||||
|
||||
When the :conf_minion:`grains_cache` is set to False, the grains dictionary is built
|
||||
and stored in memory on the minion. Every time the minion restarts or
|
||||
``saltutil.refresh_grains`` is run, the grain dictionary is rebuilt from scratch.
|
||||
|
|
Loading…
Add table
Reference in a new issue