lib/cloud_connection.rb in forj-1.0.10 vs lib/cloud_connection.rb in forj-1.0.11
- old
+ new
@@ -21,24 +21,18 @@
# Provide cloud object
module CloudConnection
def self.connect(account)
a_processes = []
- provider = account[:provider]
+ provider = account['account#provider']
# Defines how to manage Maestro and forges
# Uses 'cloud' module process provided by 'lorj_cloud'
a_processes << { :process_module => :cloud,
:controller_name => provider }
# create a maestro box. Identify a forge instance, delete it,...
- a_processes << { :process_path => File.join(LIB_PATH, 'forj',
- 'ForjCore.rb') }
-
- # Defines how cli will control FORJ features
- # boot/down/ssh/...
- a_processes << { :process_path => File.join(LIB_PATH, 'forj',
- 'ForjCli.rb') }
+ a_processes << { :process_module => :forj_core }
# Loading CloudCore embedding provider controller + its process.
o_cloud = Lorj::Core.new(account, a_processes)
o_cloud