dm-academy / Calavera

DEPRECATED. I managed to squeeze another year out of this, but moving on to a Docker platform in Calavera2. [This is a project to create a simplified, reproduceable DevOps pipeline for educational purposes, using git, Vagrant, Chef, Java, JUnit, Ant, Jenkins, Artifactory, and related technologies. ]
https://github.com/CharlesTBetz/Calavera/wiki/Calavera-Home
MIT License
34 stars 32 forks source link

fix chefdk issue #16

Closed CharlesTBetz closed 8 years ago

CharlesTBetz commented 9 years ago

in startup.sh and windows.bat we could do this automatically:

In a text editor open /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/berksfile.rb

Find the line starting with EXCLUDED_VCS_FILES_WHEN_VENDORING

change '.git' to '**/.git' in this line:

EXCLUDED_VCS_FILES_WHEN_VENDORING = ['.arch-ids', '{arch}', '.bzr', \ '.bzrignore', '.bzrtags', 'CVS', '.cvsignore', '_darcs', '.git', '.hg', \ '.hgignore', '.hgrags', 'RCS', 'SCCS', '.svn'].freeze

See https://github.com/berkshelf/vagrant-berkshelf/issues/237.

CharlesTBetz commented 8 years ago

fixed due to later versions