vagrant provisionのエラー対応(vagrant-omnibus)
下記のエラーが出て対応したので、備忘録です。
The chef binary (either
chef-solo
orchef-client
) was not found on the VM and is required for chef provisioning. Please verify that chef is installed and that the binary is available on the PATH.
pluginのインストール
$ vagrant plugin install vagrant-omnibus
Vagrantfileへの追記
config.omnibus.chef_version = :latest
Vagrantfileの再読み
$ vagrant reload $ vagrant provision
参考
[Vagrant 1.5] vagrant provisionして、chef binary was not found と出たら。 - Qiita
以上です。