mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #9985 from makinacorpus/graindirs
Custom grains directories
This commit is contained in:
commit
6029515fd0
@ -393,6 +393,21 @@ A list of extra directories to search for Salt states
|
||||
- /var/lib/salt/states
|
||||
|
||||
|
||||
.. conf_minion:: grains_dirs
|
||||
|
||||
``grains_dirs``
|
||||
---------------
|
||||
|
||||
Default: ``[]``
|
||||
|
||||
A list of extra directories to search for Salt grains
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
grains_dirs:
|
||||
- /var/lib/salt/grains
|
||||
|
||||
|
||||
.. conf_minion:: render_dirs
|
||||
|
||||
``render_dirs``
|
||||
|
@ -74,6 +74,7 @@ VALID_OPTS = {
|
||||
'module_dirs': list,
|
||||
'returner_dirs': list,
|
||||
'states_dirs': list,
|
||||
'grains_dirs': list,
|
||||
'render_dirs': list,
|
||||
'outputter_dirs': list,
|
||||
'providers': dict,
|
||||
@ -223,6 +224,7 @@ DEFAULT_MINION_OPTS = {
|
||||
'whitelist_modules': [],
|
||||
'module_dirs': [],
|
||||
'returner_dirs': [],
|
||||
'grains_dirs': [],
|
||||
'states_dirs': [],
|
||||
'render_dirs': [],
|
||||
'outputter_dirs': [],
|
||||
|
Loading…
Reference in New Issue
Block a user