Skip to content

Commit 060cfc1

Browse files
committed
Let berkshelf resolve dependencies itself
Currently, the depenencies for the deis cookbook are listed both in the Berksfile in the deis project and the metadata for the deis cookbook. They should only live in the deis cookbook, and dependencies will be automatically resolved when Berkshelf pulls that cookbook. This can cause issues, as the deis cookbook locks its dependencies to known versions and the deis project Berksfile just pulls the latest versions. We don't need a Berksfile.lock anymore either, as the cookbook now pins its depencies properly.
1 parent b6531ce commit 060cfc1

3 files changed

Lines changed: 4 additions & 72 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ controller/.secret_key
4545
logs/
4646

4747
# Misc.
48+
Berksfile.lock
4849
.DS_Store
4950
htmlcov/
5051
.ruby-version

Berksfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
site :opscode
2-
3-
cookbook 'apt'
4-
cookbook 'docker'
5-
cookbook 'rsyslog'
6-
cookbook 'sudo'
7-
#cookbook 'deis', '~> 0.6.0'
8-
9-
# development cookbook
1+
# TODO Once we have a good release cadence and are publishing cookbook versions
2+
# regularly, this should be locked to a particular version. Until then, always
3+
# use the most freshly-baked version.
104
cookbook 'deis', git: 'https://github.com/opdemand/deis-cookbook.git', branch: 'master'

Berksfile.lock

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)