saltstack-formulas/mysql-formula — pull request #41 by Cottser (2014-11-02 05:05:14+00:00)
Title: Use a dict instead of a list for users

My main motivation for making this change is so that you can do things like:

`{{ salt['pillar.get']('mysql:user:db_user:password', 'pass') }}`
`{{ salt['pillar.get']('mysql:user:db_user:host', 'localhost') }}`

Which otherwise I wasn't able to figure out in a clean way. Also, dict seems more consistent with some of the other formulas I've been using so far:
https://github.com/saltstack-formulas/users-formula/blob/master/pillar.example
https://github.com/saltstack-formulas/apache-formula/blob/master/pillar.example