You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vagrant Provisions an Ubuntu machine through chef with Apache HTTPD web server installed
Actual behavior
Fails with FATAL error
==> provisioner: Running chef-solo...
==> provisioner: [2018-05-15T10:40:14+00:00] FATAL: Configuration error NoMethodError: undefined method `<<' for nil:NilClass==> provisioner: [2018-05-15T10:40:14+00:00] FATAL: /tmp/vagrant-chef/solo.rb:24:in `from_string'==> provisioner: [2018-05-15T10:40:14+00:00] FATAL: Aborting due to error in '/tmp/vagrant-chef/solo.rb'Chef never successfully completed! Any errors should be visible in theoutput above. Please fix your recipes so that they properly complete.
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
The text was updated successfully, but these errors were encountered: