mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge branch 'develop' of github.com:saltstack/salt into cherry-pick/CLOEXEC
This commit is contained in:
commit
b1de88ced5
@ -1,3 +1,5 @@
|
||||
.. _acl:
|
||||
|
||||
=====================
|
||||
Access Control System
|
||||
=====================
|
||||
|
@ -1,3 +1,5 @@
|
||||
.. _acl-eauth:
|
||||
|
||||
==============================
|
||||
External Authentication System
|
||||
==============================
|
||||
|
@ -35,14 +35,10 @@ __opts__ = {}
|
||||
|
||||
def __virtual__():
|
||||
'''
|
||||
Only load this module if the mysql config is set
|
||||
Only load this module if the mysql libraries exist
|
||||
'''
|
||||
if any(k.startswith('mysql.') for k in list(__opts__)):
|
||||
if has_mysqldb:
|
||||
return 'mysql'
|
||||
elif any(k.startswith('mysql.') for k in list(__pillar__)):
|
||||
if has_mysqldb:
|
||||
return 'mysql'
|
||||
if has_mysqldb:
|
||||
return 'mysql'
|
||||
return False
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user