templates/vagrant/Vagrantfile.erb in vagrant-orchestrate-0.2.1 vs templates/vagrant/Vagrantfile.erb in vagrant-orchestrate-0.3.0

- old
+ new

@@ -1,5 +1,9 @@ +<% if environments.any? -%> +managed_servers = VagrantPlugins::Orchestrate::Plugin.load_servers_for_branch +<% else -%> managed_servers = %w( <% servers.each do |s| -%><%= s %> <% end -%>) +<% end -%> <% if plugins.any? -%> required_plugins = %w( <% plugins.each do |p| -%><%= p %> <% end -%>) required_plugins.each do |plugin| system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin