Open anadimisra opened 6 years ago
I hit the problem and fixed it. Issued a pull request which is waiting on the owner of this repo. https://github.com/avishai-ish-shalom/vagrant-ohai/pull/21/files
Before: tmp.puts 'Ohai::Config[:plugin_path] << "/etc/chef/ohai_plugins"'
After: tmp.puts 'ohai.plugin_path << "/etc/chef/ohai_plugins"'
Vagrant version
Anadis-MacBook-Pro:vbox-vm anadi$ vagrant -v Vagrant 2.1.1
Host operating system
OSX High Sierra
Guest operating system
ubuntu 16.04 x86_64
Vagrantfile
Debug output
https://gist.github.com/anadimisra/a370cf4178c842ad1d261907eca637ae
Expected behavior
Vagrant Provisions an Ubuntu machine through chef with Apache HTTPD web server installed
Actual behavior
Fails with FATAL error
Steps to reproduce
Generated solo.rb file from the Guest VM
and in the
/tmp/vagrant-chef/custom-config.rb
filelooks like the problem is in this method
When I uninstall vagrant-ohai and run the vagrant file it works fine