1.

Why is the Starter Kit used in Chef?

Answer»

During Chef Server creation, you are asked to download Starter kit to Chef Workstation. After downloading, unzip the starter kit and move it to your desired path. Every Time the Starter Kit is downloaded, a new key pair is created and RESETS the older one. Starter Kit has all the configuration DETAILS for communicating with Chef Server. It helps us to create a folder structure for developing cookbooks. Main directories present in Starter Kit would be as follows:

  • chef-repo: All details like cookbooks, roles, environments, data bags are all stored in chef-repo. Whenever Chef CLIENT is run on the local mode, it looks for chef-repo path and all paths are RELATIVE to chef-repo.chef-repo is like a source code which is usually in sync with a version control system such as Git. Hence all modifications done in the chef-repo COULD be tracked down.
  • chef folder : chef folder is a hidden folder found in chef-repo directory . It has a knife configuration file and .pem files used as secret authentication key files. All configurations for knife commands are present in knife configuration files.


Discussion

No Comment Found