If there is a configuration error in the Test Kitchen system, there are commands that can help you to get more information. Run the instance creation in debug mode kitchen create -l debug SUITE_NAME
Category Archives: Test Kitchen
No instances for regex `’, try running `kitchen list’ in Chef Test Kitchen
When I tried to execute the “kitchen list” command in Chef Test Kitchen the following error came up: No instances for regex `’, try running `kitchen list’ I could not find the reason for the error, so I opened the .kitchen.yml file in the Atom editor, added a space to one of the comments, and saved the …
Continue reading “No instances for regex `’, try running `kitchen list’ in Chef Test Kitchen”
Berks update fails with ‘Missing artifacts’ error message
When you add cookbooks as dependencies with the “depends” statement to the metadata.rb file of your Chef cookbook, to be able to test your cookbooks in Chef Test Kitchen, you also have to specify the location of those cookbooks in the Berksfile file. For all the cookbooks that are available on the Chef Supermarket, one line source …
Continue reading “Berks update fails with ‘Missing artifacts’ error message”
DevOps Engineering part 5. – Create an enterprise cookbook
In this exercise we will create a Chef cookbook for a corporation. It will be robust and include all the necessary elements to be used in a large enterprise. If your company already has established standards, as you progress with this tutorial, copy the appropriate file from an existing cookbook. If this is the first …
Continue reading “DevOps Engineering part 5. – Create an enterprise cookbook”