Skip to content
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

Run brew commands from /tmp or similar public folder #101

Open
jordigg opened this issue Mar 5, 2018 · 0 comments · May be fixed by #158
Open

Run brew commands from /tmp or similar public folder #101

jordigg opened this issue Mar 5, 2018 · 0 comments · May be fixed by #158

Comments

@jordigg
Copy link
Contributor

jordigg commented Mar 5, 2018

Running Puppet manually (not using a daemon, eg. puppet agent -t) will run the Brew commands from the folder the Puppet run is being executed from. If the brew user doesn't have enough permissions on that folder brew it will fail with an error not related to this.

We need to give a better error output to help the user run Puppet from a folder accessible by the brew user or try and run all brew commands from /tmp or similar "public" folder.

This is related to #100

@jordigg jordigg changed the title Run brew commands from /Tmp or similar public folder Run brew commands from /tmp or similar public folder Mar 5, 2018
flichtenheld added a commit to flichtenheld/puppet-homebrew that referenced this issue Jul 14, 2022
If cwd is a directory the brew user can't write to
(e.g. if running with bolt as root where the working
directory is a private subdirectory under /tmp) brew
fails to run.

Resolves TheKevJames#101

Signed-off-by: Frank Lichtenheld <[email protected]>
@flichtenheld flichtenheld linked a pull request Jul 14, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants