diff --git a/salt/states/cmd.py b/salt/states/cmd.py index 79a69592ef..86e006c3c9 100644 --- a/salt/states/cmd.py +++ b/salt/states/cmd.py @@ -279,6 +279,7 @@ def wait(name, user=None, group=None, shell=None, + env=(), stateful=False, umask=None, **kwargs): @@ -310,6 +311,10 @@ def wait(name, shell The shell to use for execution, defaults to /bin/sh + env + Pass in a list or dict of environment variables to be applied to the + command upon execution + umask The umask (in octal) to use when running the command.