O'Reilly logo

Learning Chef by Rishabh Sharma, Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Workstation setup - creating a Chef repository

There are two ways to create a repository on a workstation. One way to do this is by using Git and another is without Git. Now, we will see both of these in detail.

Workstation setup using Git on Windows 8

Opscode provides a skeleton framework for the Chef repository, which can be downloaded by cloning skeleton framework from Github in our local workstation.

The following command makes a new folder named chef-repo in the home directory, and after this, we can make the clone of this repository with another directory with the help of this command:

git clone git://github.com/opscode/chef-repo.git /path/to/alternate/directory

Now, change the directory into your chef-repo directory. Type the following command: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required