mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Re-adding neutron dependency check
This commit is contained in:
parent
cce07eefc2
commit
66ab1e5184
@ -80,7 +80,10 @@ class SaltNeutron(NeutronShell):
|
||||
'''
|
||||
Set up neutron credentials
|
||||
'''
|
||||
if all([use_keystoneauth, HAS_KEYSTONEAUTH]):
|
||||
if not HAS_NEUTRON:
|
||||
return None
|
||||
|
||||
elif all([use_keystoneauth, HAS_KEYSTONEAUTH]):
|
||||
self._new_init(username=username,
|
||||
project_name=tenant_name,
|
||||
auth_url=auth_url,
|
||||
|
Loading…
Reference in New Issue
Block a user