-
Notifications
You must be signed in to change notification settings - Fork 112
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 analyze
tool which includeschef analyze upload
andchef analyze report
. -
chef analyze upload
allows 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 nodes
andchef analyze report cookbooks
generate 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/credentials
file 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-verify
to allow connections. - Once the command completes, a detailed version of the report generated on
stdout
will 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 cookbooks
can also run Cookstyle against cookbooks and detail the errors it finds that would prevent upgrading Chef Infra Client on nodes. Specify--verify-upgrade
to 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