#12587·vagrant

Vagrant 2.2.19 breaks support for CINC

Author: swagopopotamusCreated Nov 12, 2021Updated Aug 16, 2026
Labelsprovisioner/chef

Vagrant version

Vagrant 2.2.19

Host operating system

MacOS 12.01

Guest operating system

Ubuntu Linux CentOS Linux

Vagrantfile

    php.vm.provision "chef_zero" do |chef|
      chef.omnibus_url = 'https://omnitruck.cinc.sh/install.sh'
      chef.product = 'cinc'
      chef.version = chef_version
      chef.cookbooks_path = "./cookbooks"
      chef.data_bags_path = "./data_bags"
      chef.nodes_path = "./nodes"

Expected behavior

The provisioner should have installed cinc as it did before and continued to provision the vm

Actual behavior

Vagrant could not detect Chef on the guest! Even after Vagrant
attempted to install Chef, it could still not find Chef on the system.
Please make sure you are connected to the Internet and can access
Chef's package distribution servers. If you already have Chef
installed on this guest, you can disable the automatic Chef detection
by setting the 'install' option in the Chef configuration section of
your Vagrantfile:

    chef.install = false

Steps to reproduce

  1. Update vagrant to version 2.2.19
  2. Attempt to provision a vm using cinc as defined in Vagrantfile example above
  3. See error

References

This seems to have been introduced by the following PR: https://github.com/hashicorp/vagrant/pull/12555