Closed petems closed 9 years ago
Yup, that would be a pretty useful hack, the easiest route could possibly be to make use of e.g https://github.com/gildas/puppet-homebrew and have brew be the default Puppet package provider when Puppet is called to do the dependency checks.
I'm not in a position where it would be useful for me to work with adding that though, sorry.
No worries, if I can get a version of it working would you accept a PR?
I'm not a direct contributor to the project (yet...) but I think sure, it would be accepted and appreciated. Having a way of setting the default package provider, per platform, would have general value and expand possible use cases.
:+1:
It sounds like you try to build a RPM package on Mac OS X? Or are you trying to build a DMG?
Building a RPM on Mac OS X does not work because you have to build on the target platform.
Since this issues is quite old right now I am closing it. Please re-open if you still need help. Thank you!
$ sudo fpm-cook install-deps
Boxen has done a lot with brew providers for packages in Puppet. It would be cool if fpm-cookery could use brew to look for the dependancies it needs?