lib/vagrant-orchestrate/command/push.rb in vagrant-orchestrate-0.1.0 vs lib/vagrant-orchestrate/command/push.rb in vagrant-orchestrate-0.1.1
- old
+ new
@@ -25,14 +25,14 @@
with_target_vms(argv) do |machine|
unless machine.provider_name.to_sym == :managed
@env.ui.info("Skipping machine #{machine.name}")
next
end
- push(options)
+ push(machine, options)
end
end
- def push(options)
+ def push(machine, options)
ENV["VAGRANT_ORCHESTRATE_COMMAND"] = "PUSH"
begin
machine.action(:up, options)
machine.action(:provision, options)
machine.action(:reload, options) if options[:reboot]