mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add optimization_order config option with default value
This commit is contained in:
parent
dfe423a1e0
commit
6fc8da5bab
1 changed files with 5 additions and 0 deletions
|
@ -286,6 +286,9 @@ VALID_OPTS = {
|
|||
# The type of hashing algorithm to use when doing file comparisons
|
||||
'hash_type': str,
|
||||
|
||||
# Order of preference for optimized .pyc files (PY3 only)
|
||||
'optimization_order': list,
|
||||
|
||||
# Refuse to load these modules
|
||||
'disable_modules': list,
|
||||
|
||||
|
@ -1218,6 +1221,7 @@ DEFAULT_MINION_OPTS = {
|
|||
'gitfs_saltenv': [],
|
||||
'gitfs_refspecs': _DFLT_REFSPECS,
|
||||
'hash_type': 'sha256',
|
||||
'optimization_order': [0, 1, 2],
|
||||
'disable_modules': [],
|
||||
'disable_returners': [],
|
||||
'whitelist_modules': [],
|
||||
|
@ -1511,6 +1515,7 @@ DEFAULT_MASTER_OPTS = {
|
|||
'fileserver_verify_config': True,
|
||||
'max_open_files': 100000,
|
||||
'hash_type': 'sha256',
|
||||
'optimization_order': [0, 1, 2],
|
||||
'conf_file': os.path.join(salt.syspaths.CONFIG_DIR, 'master'),
|
||||
'open_mode': False,
|
||||
'auto_accept': False,
|
||||
|
|
Loading…
Add table
Reference in a new issue