mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
default auth_version = 2
This commit is contained in:
parent
8072716888
commit
63d5675d34
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ def _auth(profile=None):
|
|||
password = credentials.get('keystone.password', None)
|
||||
tenant = credentials['keystone.tenant']
|
||||
auth_url = credentials['keystone.auth_url']
|
||||
auth_version = credentials['keystone.auth_version']
|
||||
auth_version = credentials.get('keystone.auth_version', 2)
|
||||
region_name = credentials.get('keystone.region_name', None)
|
||||
api_key = credentials.get('keystone.api_key', None)
|
||||
os_auth_system = credentials.get('keystone.os_auth_system', None)
|
||||
|
@ -87,7 +87,7 @@ def _auth(profile=None):
|
|||
password = __salt__['config.option']('keystone.password', None)
|
||||
tenant = __salt__['config.option']('keystone.tenant')
|
||||
auth_url = __salt__['config.option']('keystone.auth_url')
|
||||
auth_version = __salt__['config.option']('keystone.auth_version')
|
||||
auth_version = __salt__['config.option']('keystone.auth_version', 2)
|
||||
region_name = __salt__['config.option']('keystone.region_name')
|
||||
api_key = __salt__['config.option']('keystone.api_key')
|
||||
os_auth_system = __salt__['config.option']('keystone.os_auth_system')
|
||||
|
|
Loading…
Add table
Reference in a new issue