From the course: Learning Chef

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Your first Chef recipe

Your first Chef recipe

From the course: Learning Chef

Start my 1-month free trial

Your first Chef recipe

- [Instructor] It's time to write our very first Chef recipe. With this in mind I'm going to take a moment to make sure the installation steps I showed you in the previous video are all in place. So firstly, I'll check my version of vagrant and virtualbox, and make sure those tools are available in my path. If you're on a Windows system, you might make sure that you've launched the Chef development kit through your desktop if any of the stuff might be missing for you. First, I'll launch the vboxmanage command just to make sure that the version is correct. Then I'll run vboxmanage --version. Don't worry if the tools that you have installed are slightly different versions. I'll next make sure that vagrant is installed, with the vagrant --version command. Now that I'm sure these tools are in my path, I'm ready to go ahead and begin setting up your very first centos box. I'm going to do this by adding a box with vagrant. This is the vagrant box command and I can add a particular virtual…

Contents