Is there any way to apply a provisioning script after all systems are fully 
up and running in a multi-machine setup.  I have scripts that would need to 
run, but have to fetch information from other systems that should be online 
before the provisioning script is run.  I would like to use the built-in 
provisioner.

Thus in snippet below, wonder if there is a way to run the provisioning 
after all systems are up?

Vagrant.configure("2") do |config|

  # workstation node
  config.vm.define "work" do |work|
    work.vm.box = "hashicorp/precise64"
    work.vm.hostname = "workstation01"
    work.vm.network "private_network", ip: "192.168.50.4"
    work.vm.provision "shell", path: "setup-work.sh"
  end

  # server to configure
  config.vm.define "server" do |server|
    server.vm.box = "hashicorp/precise64"
    server.vm.hostname = "server01"
    server.vm.network "private_network", ip: "192.168.50.5"
    server.vm.provision "shell", path: "setup-server.sh"
  end

end

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/ac0900cc-c430-4796-827c-c71a5104c38b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to