TheKevJames / puppet-homebrew

homebrew (+brewcask! +taps!) package installer and provider
https://forge.puppet.com/thekevjames/homebrew
Apache License 2.0
18 stars 44 forks source link

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

Open jordigg opened 6 years ago

jordigg commented 6 years ago

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