saltstack/salt — pull request #2319 by ffa (2012-10-23 07:55:56+00:00)
Title: improve states.cmd.run options support

In the states.cmd.run function, inherit kwargs, so misc variables may
be passed to the modules.cmd.run function.

For env, environmental, variables, allow dicts in addition to a string.
The string is converted into a dict anyways.