lib/vagrant-sakura/action.rb in vagrant-sakura-0.0.1 vs lib/vagrant-sakura/action.rb in vagrant-sakura-0.0.2
- old
+ new
@@ -33,10 +33,18 @@
end
end
end
end
+ def self.action_list_id
+ Vagrant::Action::Builder.new.tap do |b|
+ b.use ConfigValidate
+ b.use ConnectSakura
+ b.use ListId
+ end
+ end
+
# def self.action_provision
# Vagrant::Action::Builder.new.tap do |b|
# b.use ConfigValidate
# b.use Call, IsCreated do |env, b2|
# if !env[:result]
@@ -141,9 +149,10 @@
action_root = Pathname.new(File.expand_path("../action", __FILE__))
autoload :ConnectSakura, action_root.join("connect_sakura")
autoload :DeleteServer, action_root.join("delete_server")
autoload :IsCreated, action_root.join("is_created")
autoload :Halt, action_root.join("halt")
+ autoload :ListId, action_root.join("list_id")
autoload :MessageAlreadyCreated, action_root.join("message_already_created")
autoload :MessageDown, action_root.join("message_down")
autoload :MessageNotCreated, action_root.join("message_not_created")
autoload :MessageWillNotDestroy, action_root.join("message_will_not_destroy")
autoload :PowerOn, action_root.join("power_on")