Fairly new to vagrant but managed to fairly easy use virtual box and create a Centos VM that is fully configured with some local apps via Chef.
When I then tried to use Azure (After mastering the settings that in my opinion no-one has really documented properly what you do and don't need and an idiots guide as to how to get them) I found that the chef install no longer worked. Message:
"Vagrant attempted to execute the capability 'chef_install'
on the detect guest OS 'linux', but the guest doesn't
support that capability. This capability is required for your
configuration of Vagrant. Please either reconfigure Vagrant to
avoid this capability or fix the issue by creating the capability."
Offending code in 'Vagrantfile'
config.vm.provision "chef_apply" do |chef|
chef.recipe = File.read("./SomeApp.rb")
end
I did think it was not correctly picking up the OS from Azure so tried hard setting but to no avail.
It is actually failing on the install off chef (chef solo I believe?).
I have seen others have had a similar message related to other installs and seen those described as bugs but nothing related to using chef against an azure VM.
Can anyone point me in the right direction please
Regards
Mark