Chef Workstation App and chef-run configuration is managed in config.toml. Chef Workstation will create config.toml the first time you use chef-run, if one does not already exist. To configure other tools, see their respective pages found in the toolbar under Chef Workstation Tools.
Chef Workstation looks for the config.toml in a default location.
$env:USERPROFILE\.chef-workstation\config.toml
%USERPROFILE%\.chef-workstation\config.toml
/home/$USER/.chef-workstation/config.toml
Configure telemetry behaviors for Chef Workstation components.
[telemetry]
enable = true
dev = false
true, anonymous usage data and bug reports are sent to Chef. See Chef’s Privacy Statement for the type and usage of gathered data.true, false
truechef-runCHEF_TELEMETRY_OPT_OUTchef-run will not capture or send telemetry data.chef-run will not capture or send telemetry data. Only set this if you have access to Chef’s internal QA environment - otherwise the telemetry data will not be successfully captured by Chef. If you have access to Chef’s internal QA environment, if dev and enable are both true, anonymous data is reported to Chef’s QA environment.true, false
falsechef-run, Chef Workstation App
Control logging level and location.
[log]
level = "debug"
location = "C:\Users\username\chef-workstation.log"
"debug", "warn", "info", "error", "fatal"
"warn"chef-runchef-runConfigure caching options.
[cache]
path = "/home/users/username/.cache/chef-workstation"
$USERHOME/.chef-workstation/cachechef-runControl default connection behaviors.
[connection]
default_protocol = "winrm"
default_user = "username"
"ssh", "winrm"
"ssh"chef-run--protocol PROTOroot (Linux), administrator (Windows)chef-run--user USERNAMEControl connection behaviors for the WinRM protocol.
[connection.winrm]
ssl = true
ssl_verify = false
true, false
falsechef-run--[no]-sslDescription :Intended for use in testing environments that use self-signed certificates on Windows nodes.
truetrue, false
chef-runConfigure remote Chef running on instances.
[chef]
trusted_certs_dir = "/home/username/mytrustedcerts"
cookbook_repo_paths = [
"/home/username/cookbooks",
"/var/chef/cookbooks"
]
chef-client run on target nodes..chef/config.rb and use that value if provided; otherwise "/opt/chef-workstation/embedded/ssl/certs/"
chef-runmycb: if mycb existed in both /home/username/cookbooks and /var/chef/cookbooks, mycb in /var/chef/cookbooks will be used.cookbook_path value from .chef/config.rb, otherwise not foundchef-run--cookbook-repo-paths PATH1,PATH2,..PATHnControl the behavior of automatic update checking for Chef Workstation.
[updates]
enable = true
channel = "current"
true, false
true"stable" is the recommended value. Switch to "current" is not guaranteed to be stable, and should only be used if you are comfortable with the risks associated."stable", "current"
"stable"Configure reporting of chef-client runs triggered via chef-run.
[data_collector]
url = "https://1.1.1.1/data-collector/v0/"
token = "ABCDEF0123456789"
chef-run is used to converge the targets. A valid token generated by automate is required.chef-runurl provided.chef-runThese options are intended for development and troubleshooting of Chef Workstation tools. Their usage is not supported and is subject to change.
[dev]
spinner = false
true, false
truechef-runEnable and disable experimental features for Chef Workstation.
[features]
example = true
feature = true and disable with feature = false. example = true enables one feature, which is the example feature. You can also enable or disable any feature from the command line using an environment variable. For example, setting CHEF_FEAT_EXAMPLE=true from the command line enables the example feature for the duration of your terminal session.name = true, name = false
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/workstation/config/