Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stacks_prvs:
- mysql_grants.present:
- - host: 127.0.0.1
- - database : stacks
- - grant: CREATE,DROP,DELETE,INSERT,SELECT,UPDATE,EXECUTE,ALL
- - user: stacks
- causes 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:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement