:construction: - This is contingent on https://github.com/opscode/chef/pull/1921/ - whereby the homebrew package provider is moved to Chef and set as the default provider for package resources on OS X.
The change introduced in this commit attempts to maintain compatibility seamlessly, so that users who haven't upgraded to Chef 12 will still have "homebrew as default" functionality that this
cookbook always provided.
Testing the change was done successfully with test kitchen, as output in this gist:
Unfortunately, the test itself requires two things:
Building a custom base box for OS X
Installing XCode, in order to install Chef 12 from the homebrew branch in the PR referenced above
Using an outstanding test-kitchen pull-request to even install Chef 12 from github, as we don't have an omnibus package with that
This makes it awkward for other people to test. However, this cookbook didn't exactly have tests before either.
NOTE
This shouldn't be merged until at least chef PR # 1921 (above) is merged.
This contains the commit in homebrew cookbook's PR #54 - though the scope of what we have in test kitchen for this cookbook will change, especially after OS X 10.10 moves further along in its development cycle (and, potentially, is released).
:construction: - This is contingent on https://github.com/opscode/chef/pull/1921/ - whereby the homebrew package provider is moved to Chef and set as the default provider for
package
resources on OS X.The change introduced in this commit attempts to maintain compatibility seamlessly, so that users who haven't upgraded to Chef 12 will still have "homebrew as default" functionality that this cookbook always provided.
Testing the change was done successfully with test kitchen, as output in this gist:
https://gist.github.com/jtimberman/dcc4434b019312a83e6e
Unfortunately, the test itself requires two things:
This makes it awkward for other people to test. However, this cookbook didn't exactly have tests before either.
NOTE
This shouldn't be merged until at least chef PR # 1921 (above) is merged.
This contains the commit in homebrew cookbook's PR #54 - though the scope of what we have in test kitchen for this cookbook will change, especially after OS X 10.10 moves further along in its development cycle (and, potentially, is released).