Chef cookbook version delete, or update specific version

10,525

when you run knife cookbook upload it will update whatever version is listed in your local metadata.rb file. (unless it is frozen). If you use Berks, you'll need to add the --force option to overwrite an existing version.

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

Share:
10,525
user3692800
Author by

user3692800

Updated on July 04, 2022

Comments

  • user3692800
    user3692800 almost 2 years

    I have long history of a cookbook that has a recipe of the app and is constantly modified. It got to the point where cookbook version is 226. I'm wondering how can upload files to specific cookbook version. I appreciate your help!