Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. stacks_prvs:
  2. mysql_grants.present:
  3. - host: 127.0.0.1
  4. - database : stacks
  5. - grant: CREATE,DROP,DELETE,INSERT,SELECT,UPDATE,EXECUTE,ALL
  6. - user: stacks
  7.  
  8.  
  9.  
  10. causes this error :
  11.  
  12. ID: stacks_prvs
  13. Function: mysql_grants.present
  14. Result: False
  15. Comment: An exception occurred in this state: Traceback (most recent call last):
  16. File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1316, in call
  17. *cdata['args'], **cdata['kwargs'])
  18. File "/usr/lib/python2.7/dist-packages/salt/states/mysql_grants.py", line 122, in present
  19. grant, database, user, host, grant_option, escape, **connection_args
  20. File "/usr/lib/python2.7/dist-packages/salt/modules/mysql.py", line 1165, in grant_exists
  21. for grant in grants:
  22. TypeError: 'bool' object is not iterable
  23. Started:
  24. Duration:
  25. Changes:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement