Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the cookbooks stored in Chef Server?

Tags:

chef-infra

Environment: CentOS 6 Chef 10 1 server, 1 node, 1 workstation

What is the location or path of the cookbooks uploaded to the Chef server? For example, from the workstation,

knife cookbook upload getting-started

Where does the cookbook go in the server?

like image 369
Ella Avatar asked Mar 11 '13 03:03

Ella


2 Answers

They are stored in the bookshelf, which is a configurable path. You can see the values on all platforms by looking at the attributes file for the chef-server cookbook.

like image 158
sethvargo Avatar answered Oct 06 '22 12:10

sethvargo


It is stored in bookshelf directory , which can be modified and the files regarding the cookbook are located at /var/opt/chef-server/bookshelf/data/bookshelf . In that directory u can find all the cookbooks uploaded and also you can view the recipes .

like image 25
Mohan Karthik Sanagapalli Avatar answered Oct 06 '22 14:10

Mohan Karthik Sanagapalli