lib/process/cloud/process/server.rb in lorj_cloud-0.1.2 vs lib/process/cloud/process/server.rb in lorj_cloud-0.1.3

- old
+ new

@@ -24,10 +24,12 @@ class CloudProcess # Process Handler functions def forj_get_or_create_server(sCloudObj, hParams) server_name = hParams[:server_name] PrcLib.state("Searching for server '%s'", server_name) + + config[:search_for] = server_name servers = forj_query_server(sCloudObj, { :name => server_name }, hParams) if servers.length > 0 # Get server details forj_get_server(sCloudObj, servers[0][:attrs][:id], hParams) else @@ -101,9 +103,10 @@ def_attribute :private_ip_addresses def_attribute :public_ip_address def_attribute :image_id def_attribute :key_name + def_attribute :meta_data end # Internal Process function class CloudProcess def create_server(sCloudObj, hParams)