mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
remove not from vault utils
If the role is 'master' then the vault configs should just be pulled from the opts dictionary
This commit is contained in:
parent
d6c37ea19c
commit
6a5e0f9ac1
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def _get_vault_connection():
|
|||
Get the connection details for calling Vault, from local configuration if
|
||||
it exists, or from the master otherwise
|
||||
'''
|
||||
if 'vault' in __opts__ and not __opts__.get('__role', 'minion') == 'master':
|
||||
if 'vault' in __opts__ and __opts__.get('__role', 'minion') == 'master':
|
||||
log.debug('Using Vault connection details from local config')
|
||||
try:
|
||||
return {
|
||||
|
|
Loading…
Add table
Reference in a new issue