Created
September 4, 2015 20:55
-
-
Save anonymous/b2819b0e7aa701682408 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stacks_prvs: | |
mysql_grants.present: | |
- host: 127.0.0.1 | |
- database : stacks | |
- grant: CREATE,DROP,DELETE,INSERT,SELECT,UPDATE,EXECUTE,ALL | |
- user: stacks | |
Creates this error : | |
ID: stacks_prvs | |
Function: mysql_grants.present | |
Result: False | |
Comment: An exception occurred in this state: Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1316, in call | |
*cdata['args'], **cdata['kwargs']) | |
File "/usr/lib/python2.7/dist-packages/salt/states/mysql_grants.py", line 122, in present | |
grant, database, user, host, grant_option, escape, **connection_args | |
File "/usr/lib/python2.7/dist-packages/salt/modules/mysql.py", line 1165, in grant_exists | |
for grant in grants: | |
TypeError: 'bool' object is not iterable | |
Started: | |
Duration: | |
Changes: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment