lib/cap-rightscale/configuration/rightscale.rb in cap-rightscale-0.4.5 vs lib/cap-rightscale/configuration/rightscale.rb in cap-rightscale-0.4.6

- old
+ new

@@ -88,11 +88,11 @@ [:array_id, :except_tags].each {|key| params.delete(key)} # remove rightscale's parameters role(role, params) { host_list } get_cache_instance.dump_server_cache(role, host_list, @caller) if use_rs_cache # Dump cache end end -puts "Time: #{Time.now - start}" +logger.debug("Time: #{Time.now - start}") host_list || [] end # Get servers in deployment # === Parameters @@ -145,11 +145,11 @@ [:array_id, :except_tags].each {|key| params.delete(key)} # remove rightscale's parameters role(role, params) { host_list } get_cache_instance.dump_server_cache(role, host_list, @caller) if use_rs_cache # Dump cache end end -puts "Time: #{Time.now - start}" +logger.debug("Time: #{Time.now - start}") host_list || [] end # Get servers matching tags in deployment # === Parameters @@ -207,10 +207,10 @@ [:deployment, :tags, :except_tags].each {|key| params.delete(key)} # remove rightscale's parameters role(role, params) { host_list } get_cache_instance.dump_server_cache(role, host_list, @caller) if use_rs_cache # Dump cache end end -puts "Time: #{Time.now - start}" +logger.debug("Time: #{Time.now - start}") host_list || [] end private def check_role(role)