Ella
Ella

Reputation: 185

Where are the cookbooks stored in Chef Server?

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?

Upvotes: 11

Views: 12764

Answers (3)

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 .

Upvotes: 2

Bibin Wilson
Bibin Wilson

Reputation: 496

IN AWS linux, the cookbook files are located in /var/opt/chef-server/bookshelf/data/bookshelf

check this link for more info

Upvotes: 0

sethvargo
sethvargo

Reputation: 26997

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.

Upvotes: 2

Related Questions