Berksfile
私のapp/
ディレクトリには次のものがあります。
source "https://supermarket.chef.io"
cookbook "apt", "~> 3.0.0"
cookbook "nodejs", "~> 2.2"
berks install
(バージョン 4.3.3)を実行すると、次のようになります。
Resolving cookbook dependencies...
Fetching cookbook index from https://supermarket.chef.io...
Using apt (3.0.0)
...
私のアプリディレクトリにBerksfile.lock
は、次の行を含む
apt (3.0.0)
私のイニシャルでは、行Berksfile
を削除しcookbook apt
ます (行 2)。バークスが私のBerksfile.lock
. しかし、代わりに、berks install
もう一度実行すると次のようになります。
Resolving cookbook dependencies...
Fetching cookbook index from https://supermarket.chef.io...
Using apt (4.0.0)
そして、私Berksfile.lock
の新しいapt
バージョンで更新されます。これは予想される動作ですか?コマンドでこの動作を期待しberks update
ます...