xanzy/chef-guard

Since Chef Server 12.18.14 Chef Guard fails to process cookbook checks

Opened this issue · 0 comments

With the release of Chef Server 12.18.14, Chef Inc. implemented RFC 67 which changed the format of the cookbooks/NAME/VERSION endpoint.

chef/chef-server#1034

This causes the Chef Guard to fail when unmarshaling the JSON, and results in empty data structures. This causes the Chef Guard to always fail in compareCookbooks since none of the uploaded files are detected. The error of The source cookbook contains more files than your upload is always returned regardless of the files that are uploaded.