I have installed a chef cookbook with knife cookbook site install
. But I don't want/need that one. Is it possible to uninstall a cookbook like this? To clean up my cookbooks
directory?
Asked
Active
Viewed 455 times
0

Amandasaurus
- 31,471
- 65
- 192
- 253
2 Answers
1
To remove, use @TejayCardon answer above ^^
rm <cookbook_directory>/<cookbook name>
To remove Git branch, do
git branch -d CHEF-vendor-XXX

display name
- 126
- 3
0
Yep.
rm <cookbook_directory>/<cookbook name>
That's all there is to it.

Tejay Cardon
- 379
- 1
- 4
-
1Doesn't that still leave the git branch with the `chef-vendor-XXX`? – Amandasaurus Sep 02 '15 at 07:45
-
not sure, I don't have a git repo for my chef repo. I would assume you can just commit the change. – Tejay Cardon Sep 02 '15 at 18:06