mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make syndic_log_file respect root_dir setting
This commit is contained in:
parent
de997edd90
commit
4b1f55da9c
1 changed files with 1 additions and 1 deletions
|
@ -2136,7 +2136,7 @@ def syndic_config(master_config_path,
|
|||
'pki_dir', 'cachedir', 'pidfile', 'sock_dir', 'extension_modules',
|
||||
'autosign_file', 'autoreject_file', 'token_dir'
|
||||
]
|
||||
for config_key in ('log_file', 'key_logfile'):
|
||||
for config_key in ('log_file', 'key_logfile', 'syndic_log_file'):
|
||||
# If this is not a URI and instead a local path
|
||||
if urlparse(opts.get(config_key, '')).scheme == '':
|
||||
prepend_root_dirs.append(config_key)
|
||||
|
|
Loading…
Add table
Reference in a new issue