-
Notifications
You must be signed in to change notification settings - Fork 114
Analyze Pilot Release Notes
Ian Maddaus edited this page Dec 20, 2019
·
6 revisions
https://downloads.chef.io/chef-workstation/0.13.35
- Released the
chef analyzetool which includeschef analyze uploadandchef analyze report. -
chef analyze uploadallows users to upload documents to a secure repo for Chef Software to examine. Reports and error logs are a perfect example of what to upload. Your Chef Software contact can help you determine what to upload. -
chef analyze report nodesandchef analyze report cookbooksgenerate reports based on a Chef Infra Server instance.- These reports depend on connection information to the Chef Infra Server. The easiest way is to specify these in a
$HOME/.chef/credentialsfile like the following:
[default] client_name = 'cmyclient' # client_key must be a fully specified path client_key = '/Users/myuser/.chef/chef-workstation.pem' chef_server_url = 'https://my.chef.server/organizations/myorg'- If your chef server uses a self-signed or untrusted certificate you can specify
--ssl-no-verifyto allow connections. - Once the command completes, a detailed version of the report generated on
stdoutwill be stored to~/.chef-workstation. A message at the end of the report will give a direct link. Any errors encountered will also be stored in that folder and will be linked. - To generate a csv formatted report specify
--format csv. -
chef analyze report cookbookscan also run Cookstyle against cookbooks and detail the errors it finds that would prevent upgrading Chef Infra Client on nodes. Specify--verify-upgradeto run Cookstyle. This is disabled by default because it makes the reporting process take longer.
- These reports depend on connection information to the Chef Infra Server. The easiest way is to specify these in a