env_vars in pip_state vs. env in cmd #67518
Replies: 9 comments
-
|
I think this would be a good improvement. We would just need to make sure we properly deprecate the argument we do not choose. |
Beta Was this translation helpful? Give feedback.
-
|
Any news on this? |
Beta Was this translation helpful? Give feedback.
-
|
this is not currently assigned out to anyone due to other higher priority issues. Please feel free to try to send in a PR for this if you feel so inclined :) |
Beta Was this translation helpful? Give feedback.
-
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Beta Was this translation helpful? Give feedback.
-
|
Yep. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for updating this issue. It is no longer marked as stale. |
Beta Was this translation helpful? Give feedback.
-
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Beta Was this translation helpful? Give feedback.
-
|
And again. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for updating this issue. It is no longer marked as stale. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description of Issue/Question
Why is there a difference in the way environment variables are specified in pip.installed and cmd.run state methods?
Examples from the documentation:
vs.
Differences are:
Could this be streamlined, please, so that there's only one unique way of specifying environment variables (and everywhere else where I didn't spot it, of course)?
See also:
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.cmd.html#salt.states.cmd.run
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.pip_state.html#salt.states.pip_state.installed
Beta Was this translation helpful? Give feedback.
All reactions