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.
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: ...