mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Not renaming, return a boolean in __virtual__()
.
This commit is contained in:
parent
cbca3ee8b5
commit
1602fa681b
@ -47,7 +47,7 @@ def __virtual__():
|
||||
'''
|
||||
Only load if the mysql module is in __salt__
|
||||
'''
|
||||
return 'mysql_user' if 'mysql.user_create' in __salt__ else False
|
||||
return 'mysql.user_create' in __salt__
|
||||
|
||||
|
||||
def _get_mysql_error():
|
||||
|
Loading…
Reference in New Issue
Block a user