lib/forj/ForjCli.rb in forj-1.0.1 vs lib/forj/ForjCli.rb in forj-1.0.2
- old
+ new
@@ -19,20 +19,21 @@
# boot/down/ssh/...
# Define framework object on BaseDefinition
# See lib/core/definition.rb for function details usage.
-class ForjCliProcess
- def connect_to(sObjectType, hParams)
- end
-end
-class BaseDefinition
-
- define_obj :box_ssh,
+class Lorj::BaseDefinition
+ # ************************************ SSH Object
+ define_obj(:ssh,
{
- :create_e => :connect_to
- }
+ :create_e => :ssh_connection
+ })
obj_needs :CloudObject, :forge
- obj_needs :data, :box_name
+ obj_needs :data, :instance_name
+ obj_needs :data, :keypair_name
+ obj_needs :data, :keypair_path
+ obj_needs_optional
+ obj_needs :data, :forge_server
+ obj_needs :data, :ssh_user
end