mitchellh/vagrant — Issue #687: translation missing: en.vagrant.provisioners.chef.chef_not_detected
Author: miketheman
Created: 2012-01-27 15:50:51+00:00
State: open

A translation for the provisioner seems to be missing:

```
$ vagrant -v
Vagrant version 0.9.3

$ vagrant up
...
DEBUG ssh: Re-using SSH connection.
INFO ssh: Execute: which chef-solo (sudo=true)
DEBUG ssh: Exit status: 1
ERROR warden: Error occurred: translation missing: en.vagrant.provisioners.chef.chef_not_detected
ERROR warden: Error occurred: translation missing: en.vagrant.provisioners.chef.chef_not_detected
ERROR warden: Error occurred: translation missing: en.vagrant.provisioners.chef.chef_not_detected
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #
ERROR vagrant: translation missing: en.vagrant.provisioners.chef.chef_not_detected
ERROR vagrant: /Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/communication/ssh.rb:62:in `execute'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/communication/ssh.rb:72:in `sudo'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/provisioners/chef.rb:24:in `verify_binary'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/provisioners/chef_solo.rb:87:in `provision!'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/vm/provision.rb:36:in `call'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/vm/provision.rb:33:in `each'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/vm/provision.rb:33:in `call'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/warden.rb:33:in `call'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/vm/check_accessible.rb:18:in `call'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/warden.rb:33:in `call'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/general/validate.rb:14:in `call'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/warden.rb:33:in `call'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/builder.rb:92:in `call'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/runner.rb:49:in `run'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/util/busy.rb:19:in `busy'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/action/runner.rb:49:in `run'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/vm.rb:192:in `run_action'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/vm.rb:162:in `provision'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/command/provision.rb:23:in `execute'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/command/base.rb:100:in `with_target_vms'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/command/base.rb:95:in `each'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/command/base.rb:95:in `with_target_vms'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/command/provision.rb:19:in `execute'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/cli.rb:38:in `execute'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/lib/vagrant/environment.rb:156:in `cli'
/Library/Ruby/Gems/1.8/gems/vagrant-0.9.3/bin/vagrant:43
/usr/bin/vagrant:19:in `load'
/usr/bin/vagrant:19
INFO interface: error: translation missing: en.vagrant.provisioners.chef.chef_not_detected
translation missing: en.vagrant.provisioners.chef.chef_not_detected

```

Interesting, though - the vagrant user can locate the chef-solo binary in their path, but the sudo user cannot on this box. That's probably my problem to fix in the box itself. Ref: https://github.com/mitchellh/vagrant/blob/master/lib/vagrant/provisioners/chef.rb#L24