Delete a cook’s cookbook version or update a specific version

I have a long history of a cookbook that has an app recipe and is constantly changing. He came to the point where the version for the cookbook is 226. I wonder how you can upload files to a specific version of the cookbook. I appreciate your help!

+6
source share
1 answer

when starting knife cookbook upload it will update any version specified in the local metadata.rb file. (if it is not frozen). If you are using Berks, you need to add the --force option to overwrite the existing version.

deleting a specific version is as simple as knife cookbook delete mycookbook 1.4.3

+4
source

Source: https://habr.com/ru/post/983571/


All Articles