lib/vagrant-vcenter/action.rb in vagrant-vcenter-0.3.0 vs lib/vagrant-vcenter/action.rb in vagrant-vcenter-0.3.1
- old
+ new
@@ -20,10 +20,11 @@
end
def self.action_reload
Vagrant::Action::Builder.new.tap do |b|
b.use ConfigValidate
+ b.use ConnectvCenter
b.use Call, IsCreated do |env, b2|
unless env[:result]
b2.use MessageNotCreated
next
end
@@ -113,10 +114,11 @@
end
def self.action_provision
Vagrant::Action::Builder.new.tap do |b|
b.use ConfigValidate
+ b.use ConnectvCenter
b.use Call, IsCreated do |env, b2|
unless env[:result]
b2.use MessageNotCreated
next
end
@@ -150,10 +152,11 @@
end
def self.action_ssh
Vagrant::Action::Builder.new.tap do |b|
b.use ConfigValidate
+ b.use ConnectvCenter
b.use Call, IsCreated do |env, b2|
unless env[:result]
b2.use MessageNotCreated
next
end
@@ -163,9 +166,10 @@
end
def self.action_ssh_run
Vagrant::Action::Builder.new.tap do |b|
b.use ConfigValidate
+ b.use ConnectvCenter
b.use Call, IsCreated do |env, b2|
unless env[:result]
b2.use MessageNotCreated
next
end