読者です 読者をやめる 読者になる 読者になる

TakayukiKoyama Geek Blog

Create, Entertain, Experience

berks --path cookbooks でエラーが出る場合

 最近使い始めたのでよく分かっていませんが、どうやらバージョンが上がって仕様が変わったようです。

変更前

$ berks --path cookbooks
DEPRECATED: `berks install --path [PATH]` has been replaced by `berks vendor`.
DEPRECATED: Re-run your command as `berks vendor [PATH]` or see `berks help vendor`.

変更後

$ berks vendor cookbooks
DEPRECATED: Your Berksfile contains a site location pointing to the Opscode Community Site (site :opscode). Site locations have been replaced by the source location. Change this to: 'source "https://supermarket.chef.io"' to remove this warning. For more information visit https://github.com/berkshelf/berkshelf/wiki/deprecated-locations
Resolving cookbook dependencies...

 『--path』 -> 『vendor』にすればいいらしい。

入門Chef Solo - Infrastructure as Code

入門Chef Solo - Infrastructure as Code

広告を非表示にする