Details
Description
On Windows systems, using knife cookbook site install fails due to the single quote usage in the git commit command.
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-0.10.6.rc.4/lib/chef/shell_out.rb:206:in `invalid!': Expected pro cess to exit with [0], but received '1' (Chef::Exceptions::ShellCommandFailed) ---- Begin output of git commit -m 'Import apt version 1.2.0' -- apt ---- STDOUT: C:\Users\Opscode\chef-repo-git-test\cookbooks>@git.exe %*
Changing the single quotes to double quotes resolves the issue.
Issue Links
- is duplicated by
-
CHEF-2623
Using knife on windows to manipulate cookbooks doesn't work
-
Fixed in jtimberman/
CHEF-2773