3 def ipaddresses(options = {}, &block)
6 interfaces(options).each do |interface|
7 address = interface[:public_address] || interface[:address]
19 def internal_ipaddress
20 ipaddresses(:role => :internal).first
23 def external_ipaddress
24 ipaddresses(:role => :external).first