lib/cap-rightscale/configuration/rightscale.rb in cap-rightscale-0.3.3 vs lib/cap-rightscale/configuration/rightscale.rb in cap-rightscale-0.3.4
- old
+ new
@@ -79,11 +79,11 @@
ip = use_public_ip ? instance[:ip_address] : instance[:private_ip_address]
logger.info("Found server: #{hostname}(#{ip})")
use_nickname ? hostname : ip
end
- host_list = RSUtils.valid_echo(host_list) if validate_echo
+ host_list = RSUtils.valid_echo(host_list, logger) if validate_echo
if host_list && host_list.size > 0
role(role, params) { host_list }
dump_server_cache(role, host_list) if use_rs_cache # Dump cache
end
@@ -134,11 +134,11 @@
ip = use_public_ip ? server[:settings][:ip_address] : server[:settings][:private_ip_address]
logger.info("Found server: #{hostname}(#{ip})")
use_nickname ? hostname : ip
end
- host_list = RSUtils.valid_echo(host_list) if validate_echo
+ host_list = RSUtils.valid_echo(host_list, logger) if validate_echo
if host_list && host_list.size > 0
role(role, params) { host_list }
dump_server_cache(role, host_list) if use_rs_cache # Dump cache
end
@@ -200,10 +200,10 @@
ip = use_public_ip ? server[:settings][:ip_address] : server[:settings][:private_ip_address]
logger.info("Found server: #{hostname}(#{ip})")
use_nickname ? hostname : ip
end
- host_list = RSUtils.valid_echo(host_list) if validate_echo
+ host_list = RSUtils.valid_echo(host_list, logger) if validate_echo
end
if host_list && host_list.size > 0
role(role, params) { host_list }
dump_server_cache(role, host_list) if use_rs_cache # Dump cache