I'm trying to get the provisioner override example on this webpage working

http://docs.vagrantup.com/v2/provisioning/basic_usage.html

I basically cut and pasted the example into a stripped down Vagrant file:

Vagrant.configure("2") do |config|
  config.vm.box = "precise64"
  config.vm.box_url = "http://files.vagrantup.com/precise64.box";

  config.vm.provision "shell",
    inline: "echo foo", id: "foo"

  config.vm.define "web" do |web|
    web.vm.provision "shell",
      inline: "echo bar", id: "foo"
  end
end

And this generates the syntax error on vagrant 1.5.1.

Kurt

On Monday, April 7, 2014 7:25:58 PM UTC-7, Alvaro Miranda Aguilera wrote:
>
> Hello,
>
> What do you mean by override? that is example
>
> - run this_for_vmware.sh
> - run this_for_virtualbox.sh 
>
> ???
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to