LoginSignup
12
12

More than 5 years have passed since last update.

[Vagrant 1.5] vagrant provisionして、chef binary was not found と出たら。

Last updated at Posted at 2014-07-23

エラー

Vagrant + Chef soloで環境を作っていて、vagrant provision時にエラーがでました。

$ vagrant provision 
==> default: Running provisioner: chef_solo...
The chef binary (either `chef-solo` or `chef-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.

対応

これは

$ vagrant plugin install vagrant-omnibus

をして、プラグインを追加。

その後、Vagrantfileに一行追加します。

config.omnibus.chef_version = :latest

そして、

$ vagrant reload
$ vagrant provision

とりあえず、これでこの問題は解決します。

他のエラー

でも、
SSL validation of HTTPS requests is disabled....
なるエラーも出ることもありますので、それはこちらで対応みています。

参考

12
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
12