Chef – Search
In this lab we will demonstrate an understanding of Chef search in a recipe.
First, we are going to install the ChefDK tools on a server, make sure that Docker is working, and ensure that Git is installed and has some basic configuration.
We will then create a cookbook and recipe that utilizes the search function to look for users in a provided data bag. There will be a group created for the users that our recipe finds.
At the end of this hands-on lab we will have installed ChefDK tools, configured it, and will have a working cookbook. We'll perform any testing by using