humanmade / Salty-WordPress

A flavorful way to manage your entire WordPress stack.
126 stars 22 forks source link

Fail bootstrapping Salt with Vagrant 1.7.4 #118

Closed jarcos closed 9 years ago

jarcos commented 9 years ago

I get this error trying to up a container. curl: (23) Failed writing body (630 != 16384)

I don't know really the reason why, but after a research I found this on Vagrant repository that solves the problem. https://github.com/mitchellh/vagrant/issues/6029

scottbasgaard commented 9 years ago

@joehoyle just hit this too on upgrading to latest Vagrant / Virtualbox. Might be worth looking into.

scottbasgaard commented 9 years ago

Like @jarcos said fix here is replacing the following in your vagrantfile:

  config.vm.provision :salt do |salt|
    salt.verbose = true
    salt.minion_config = 'config/salt/minions/vagrant.conf'
    salt.run_highstate = true
  end

with:

  config.vm.provision :salt do |salt|
    salt.verbose = true
    salt.bootstrap_options= "-F -c /tmp -P"
    salt.minion_config = 'config/salt/minions/vagrant.conf'
    salt.run_highstate = true
  end
joehoyle commented 9 years ago

Fixed in 2c2ebab, thanks!