saltstack/salt — pull request #11422 by terminalmage (2014-03-21 20:34:30+00:00)
Title: Fix for "env" param in cmd state/module

This pull request fixes the usage of the ``env`` param in the cmd state and module. In both, ``env`` is meant to define the OS environment (i.e. environment variables), but the state compiler assigns this value to the "magic" dunder ``__env__``. This effectively breaks these states.