O'Reilly logo
  • Mohamed Kante thinks this is interesting:

Don't commit the Berksfile.lock to version control. If you use berks generate it will auto populate the .gitignore for you. Otherwise, you need to add Berksfile.lock to your .gitignore manually.

From

Cover of Chef Cookbook - Third Edition

Note

From my experience it's better to commit Berksfile.lock so every install of your cookbook will use the same dependencies versions