Examples directory with different sample usage scenarios for configuring Test Kitchen.
The example-kitchen-files folder contains sample YAML configuration files for Test Kitchen that adhere to the CHEF corporate standard for instance tags. These standards are trivial to remove, extend, or override so they are included to show more complete examples.
See Detailed Information
The data-bag-usage directory includes a cookbook example with different ways of using data bags with Test Kitchen.
- Default data_bag location - The default kitchen suite in the cookbook looks in the location
test/integration/databagssince it is not otherwise specified for data_bag content. The contents of thedefaultdatabag located attest/integration/data_bags/defaultis consumed by thedefault.rbrecipe of the cookbook. - Alternative data_bag location - The
alt-databag-locationsuite specifies an alternate path location in YAML configuration via provisioner configuration fordata_bags_pathunder the test suite. Thedefault.rbpicks consumes this data, triggered by the presence of attributekitchen_suite_actionwith valuealt-data-bag-location, specified in the kitchen YAML configuration.