Reputation: 1295
How to check for all the versions of a chef cookbook? I have a cookbook called 'sample', how to create multiple versions of it and check using knife command line tools?
Upvotes: 2
Views: 1428
Reputation: 3670
knife cookbook list --all
shows all versions (of all cookbooks) currently uploaded to Chef Server.
Upvotes: 1
Reputation: 54247
Versions are "created" when you upload them to a Chef Server. You can see which versions exist in the Chef Server via knife cookbook show sample
.
Upvotes: 1