This documents the options for both your plan and your habitat configuration file.
You can use all the default plan variables shipped with Chef Habitat. Read more about plan variables in the Chef Habitat documentation.
chef-infra-client package used. Change to use a different package. Default is chef/chef-infra-client
cacerts package used during the Chef Infra Client run. Change to use a different package.Default is chef/cacerts
$PLAN_CONTEXT/../policyfiles
data_bags directory that contains the data_bags, if needed by your cookbook. Default is $PLAN_CONTEXT/../data_bags
1800
1800
0
1800
chef-client. Default is warn
/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin. Windows Default is ;C:/WINDOWS;C:/WINDOWS/system32/;C:/WINDOWS/system32/WindowsPowerShell/v1.0;C:/ProgramData/chocolatey/bin
:verify_peer
false
https://www.rubygems.org
This configuration needs to be under the [chef_license] block in the .toml file.
undefined
These configurations need to be under the [automate] block in the .toml file.
false
https://automate.example.com/data-collector/v0/. Default is https://<automate_url>
GR4_yqRNUtWFVgnVh57GQL9Hh9I=. Default is <automate_token>
inspec package. Change to use a different package. Default is chef/inspec This variable is required if the profile had a depends line for compliance in the inspec.yml example as shown belowcacerts package during the Chef Infra Client run. Change to use a different package. Default is chef/cacerts. This variable is required if the profile had a depends line for compliance in the inspec.yml example as shown belowinspec.yml
depends:- name:cis-rhel7-level1-servercompliance:admin/cis-rhel7-level1-serverhttps://automate.example.com. Required if the profile uses a line for compliance in the inspec.yml
inspec runs. Default is 1800
1800
inspec client. Default is 0
inspec client. Default is warn
This configuration needs to be under the [chef_license] block in the .toml file.
undefined
These configurations need to be under the [automate] block in your toml file.
false
https://automate.example.com/data-collector/v0/. Default is https://<automate_url>
GR4_yqRNUtWFVgnVh57GQL9Hh9I=. Default is <automate_token>
© 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/effortless/variables_and_config/