Not renaming, return a boolean in __virtual__().

This commit is contained in:
Pedro Algarvio 2014-03-06 14:05:02 +00:00
parent cbca3ee8b5
commit 1602fa681b

View File

@ -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():