Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Chef Error: Could not find cookbook cookbooks_test in your cookbook path, sk

rajeshkumar created the topic: ERROR: Could not find cookbook cookbooks_test in your cookbook path, sk

Error while uploading the cookbooks….
[code language=”css”]
> knife cookbook upload cookbooks_test
ERROR: Could not find cookbook cookbooks_test in your cookbook path, skipping it
ERROR: Failed to upload 1 cookbook.
[/code]

Solution:

You can pass path of the cookbooks via commend line using…
[code language=”css”]
knife cookbook upload cookbooks_test -o /path/to/cookbook
[/code]

Also, you can set the path in .chef/knife.rb. If .chef/knife.rb is missing, you can following commands…
[code language=”css”]
knife configure –initial
[/code]

But if you install the startter kit from manage.chef.io, you just need to replace all the files including .knife.rb

if you cookbooks files many places then you can set your .knife.rb like as below;
[code language=”css”]
cookbook_path [ ‘.’, ‘..’, ‘./cookbooks’, ‘~/git/chef’ ]
[/code]

If you are still getting this error, make sure the metadata.rb has same name which you using to upload the cookbooks.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x