add a note that describes grain rebuilding on restart and refresh

This commit is contained in:
Thomas Phipps 2017-11-07 14:51:32 -08:00
parent 5e289f42ba
commit aca0405b26

View file

@ -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::
The grains dictionary is built and stored in memory on the minion. Everytime
the salt-minion restarts or `saltutil.refresh_grains` is run the grain
dictionary is rebuilt from scratch.