3 def ipaddresses(options = {}, &block)
6 interfaces(options).each do |interface|
7 address = interface[:public_address] || interface[:address]
21 def internal_ipaddress(options = {})
22 ipaddresses(options.merge(:role => :internal)).first
25 def external_ipaddress(options = {})
26 ipaddresses(options.merge(:role => :external)).first