New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix cookbook installation from supermarket on windows #3968
Fix cookbook installation from supermarket on windows #3968
Conversation
- Fixes https://tickets.opscode.com/browse/CHEF-3394 by adding the `--force-local` option to tar - Might fix chef#1753 with the added double quotes Proof of the fix: ![Proof of the fix](http://imgur.com/MOvHdPD.png)
👍 @chef/client-windows |
👍 |
👍 |
I think this will break BSD tar (Mac and probably *BSD):
Edit: I ran this on Mac OS 10.11. Also:
|
Unless this only runs on windows or I'm missing something? |
@danielsdeleo You're right, it doesn't run on Windows only. The commit needs to be refactored to add the |
I verified that 48f7688 works on Windows on my local machine:
|
LGTM now. 👍 |
thanks @danielsdeleo, good catch! |
--force-local
option to tarSuccessfully ran the unit tests in spec/unit/knife/cookbook_site_install_spec.rb with the change.
Proof of the fix: