Closed genebean closed 7 years ago
There were the following issues with your Pull Request
Commit: 8b2fd728fbe97103741b648716fb145c8f8ef0ca
Commit: 72f8901c7875cc1e344751bab5c5ebb82be151b3
Guidelines are available at https://github.com/thekevjames/puppet-homebrew
This message was auto-generated by https://gitcop.com
Not totally sure what you are looking for in the commit message... happy to adjust if you will elaborate.
It looks like the only tests that failed were for ruby 2.2.5 due to Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
@TheKevJames - what do I need to do to get this merged in?
Hey! Sorry I haven't had a chance to look at this yet; I'm on vacation, but I'll try to find the time to check this out shortly.
Thanks!
@TheKevJames Just wanted to follow up with you and see if you have had a chance to take a look.
Hey there! I'm so sorry it took me so long to get to this -- my vacation ended up going a lot longer than expected. This looks good to me, I'll get it merged and deployed right away. Thanks for the contribution!
Thanks!
This PR makes it so the provider still works when you are running puppet as a non-root user and when it is being run by way of Bundler. For me this also fixes #78.
Adding the same code to all 4 providers seemed a little odd but I didn't fully read up on #77 either. It would make sense to me to put chunks of code like
into
lib/puppet/util/homebrew.rb
or similar to make things a little more DRY. If that's desired then I will happily rework this a bit.