lib/poolparty/net/remoter_base.rb in auser-poolparty-0.2.74 vs lib/poolparty/net/remoter_base.rb in auser-poolparty-0.2.76
- old
+ new
@@ -86,9 +86,12 @@
# Get instance by number
def get_instance_by_number(i=0, list = remote_instances_list)
name = (i.zero? ? "master" : "node#{i}")
list.select {|i| i.name == name }.first
end
+ # A callback before the configuration task takes place
+ def before_configuration_tasks
+ end
def remote_instances_list
@containing_cloud = self
# puts "> #{@containing_cloud} #{@describe_instances.nil?}"
list_of_instances(keypair).collect {|h| PoolParty::Remote::RemoteInstance.new(h, @containing_cloud) }
end
\ No newline at end of file