I use Test Kitchen to test the cookbook. I would like to indicate the version number of the solo chef to be installed. How to indicate version number?
It .kitchen.yml out ... In your .kitchen.yml file, you have the require_chef_omnibus option. You can specify true , latest or version number.
.kitchen.yml
require_chef_omnibus
true
latest
provisioner: name: chef_solo require_chef_omnibus: 11.10.4
**** require_chef_omnibus deprecated The 'require_chef_omnibus' attribute with version values will change to use the new 'product_version' attribute. Note: 'product_name' must be set in order to use 'product_version' until 'product_name' replaces 'require_chef_omnibus' as the default. # New Usage # provisioner: product_name: <chef or chefdk> product_version: 13.12.3