You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chef capture [NODE_NAME] -p [PROFILE]
- Setting up local repository
- Capturing node object '[NODE_NAME]'
- Capturing cookbooks...
Error: unable to capture node cookbooks for '[NODE_NAME]': Failed to download cookbook [COOKBOOK]: json: cannot unmarshal array into Go struct field CookbookMeta.metadata.gems of type string
Running chef capture on a node with versions declared for gems in metadata.rb fails to unmarshal the array. This is actually happening in go-chef and is fixed in https://github.com/go-chef/chef/releases/tag/v0.28.1. We just need to bump vendor/github.com/go-chef to 0.28.1.
Chef Analyze Version
chef-analyze: 0.1.185
chef-workstation: 23.2.1028
The text was updated successfully, but these errors were encountered:
Description
Running
chef capture
on a node with versions declared for gems in metadata.rb fails to unmarshal the array. This is actually happening in go-chef and is fixed in https://github.com/go-chef/chef/releases/tag/v0.28.1. We just need to bump vendor/github.com/go-chef to 0.28.1.Chef Analyze Version
chef-analyze: 0.1.185
chef-workstation: 23.2.1028
The text was updated successfully, but these errors were encountered: