saltstack/salt — pull request #10860 by dr4Ke (2014-02-28 09:55:55+00:00)
Title: State mysql query

I wrote a mysql_query state which execute the specified query, and store the returned data in either : a file, a grain, a key of a dictionnary type grain.

I'd like to submit it for inclusion in Salt, it may be useful for others.

I need review, and help to write some unit tests for this state, if needed.