Closed hugobast closed 7 years ago
This looks like it was specifically changed in #52 to address some similar issues to what you are facing.
@hugobast would you mind linking to the docs where you have seen this in puppet-land? I also think this is uid
(and guid
where needed) however I cannot find the docs on it.
cc @hirocaster and @blackjid
Looks like you are right, and it should be uid
. I mistakenly merge that PR. The user
param is for the exec
method, not for the execution
library which is being used.
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/execution.rb#L119
Maybe @hirocaster had permission issues with we published the PR.
OK, I will retry it. Sorry, this PR #52 .
Thanks everyone! I appreciate it.
@jacobbednarz Do you think this should be released?? thanks
great idea! i've cut 5.0.9 to get this fix available.
got this boxen/our-boxen upstream too via boxen/our-boxen#836
user
is an option that gets ignored by puppet.uid
is meant to be used in order to set a user to execute the command. I cannot find a point at which it ever wasuser
in recent, not so recent and far distant versions of puppet which leads me to believe this change was introduced by accident.The effect of using
user
vsuid
are shown below:gulp-cli was installed with the fix that I'm submitting here while react-native-cli was installed current version of puppet-nodejs