New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion: enable mixlib-shellout's login mode for execute/script resources #4338
Comments
Amazingly, I just bumped into this today as well with chef-client 12.6 on Windows. Hackish and incomplete, but this got the job done for me: master...webframp:execute-credentials |
…ault group. This should get backported to Chef I think: chef/chef#4338 It's a more grokkable set of default behaviors. /cc @chef/client-core
I put up my own version of this in poise/poise@aaf2e53 along with setting the user's default group if possible. /cc @chef/client-core |
we definitely meant to get that kind of functionality exposed in the resources. |
I assumed it was just an oversight, since the mixlib-shellout behavior is there. As to the correct way to implement it, I have no attachment to the code I started working on and would just like to see it supported on the appropriate providers |
I think the two things we need to change before enabling this more globally would be to change the |
calling this one a dup of #3563 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
So this came up again today and I hadn't seen a discussion on it before. Should we enable the
login
flag? Mostly I care about fixing$HOME
when a user is set, and then$PATH
munging that gets turned on seems counterproductive but we should probably do something.The text was updated successfully, but these errors were encountered: