mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
use local config for vault when masterless
This commit is contained in:
parent
6530649dbc
commit
2a92f4bc16
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ def _get_vault_connection():
|
|||
|
||||
if 'vault' in __opts__ and __opts__.get('__role', 'minion') == 'master':
|
||||
return _use_local_config()
|
||||
elif '_ssh_version' in __opts__:
|
||||
elif any((__opts__['local'], __opts__['file_client'] == 'local', __opts__['master_type'] == 'disable')):
|
||||
return _use_local_config()
|
||||
else:
|
||||
log.debug('Contacting master for Vault connection details')
|
||||
|
|
Loading…
Add table
Reference in a new issue