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

Casks with checksum errors repeatedly attempt installation without erroring #27

Closed zbentley closed 8 years ago

zbentley commented 8 years ago

If there is a checksum error while installing a cask (or probably any other kind of Homebrew package/object, though I've only seen it with casks), this module will endlessly loop trying to re-install the cask. It will also report that it successfully installed the cask, despite the fact that the underlying command is returning an error and not doing the install. The following should be fixed:

TheKevJames commented 8 years ago

Thanks for the report! Fixed in #29, should be in the next release. I am still considering whether automatic deletion is "safe" enough to make the default behaviour. If you have any thoughts on this, please let me know.

zbentley commented 8 years ago

Given the simplicity of the fetching system in Homebrew, I strongly support automatic deletion as the default behavior. Honestly, I support it as the default behavior in Homebrew, but I haven't opened an issue there--maybe I should.

zbentley commented 8 years ago

Thanks!