Failure to update a specific Policy's cookbook when cookbooks cache is outdated #210
Labels
Triage: Confirmed
Indicates and issue has been confirmed as described.
Type: Bug
Does not work as expected.
Version:
2.0.10
Environment:
Scenario:
Update a specific cookbook from a policy, without updating its deps, when the cookbooks cache is outdated.
Steps to Reproduce:
chef-cli install
rm -rf ~/.chef-workstation/cache/cookbooks/
--exclude_deps
option --chef-cli update Policyfile.rb --exclude-deps <the_cookbook>
I personally reproduce it easily with
yum-epel 4.0
, here are:Expected Result:
✅Exit code
0
✅No error message
✅Cookbook updated in the Policyfile.lock.json
Actual Result:
❎Exit code
1
❎Error message is printed:
✅Fun thing Policyfile.lock.json has been written before the error and the cookbook is properly updated
The text was updated successfully, but these errors were encountered: