Permalink
Browse files

Further Enhanced Elastic IP update for missing magic :allocation_id, …

…part deaux
  • Loading branch information...
schade committed Jan 9, 2013
1 parent cfaafbe commit d80a85ae4313c4c56aff57e3e8111b61d0421261
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/ironfan/provider/ec2/elastic_ip.rb
@@ -23,6 +23,7 @@ def name() adaptee.public_ip ; end
def self.load!(cluster=nil)
Ec2.connection.addresses.each do |eip|
+ pp eip
register eip
Chef::Log.debug("Loaded #{eip}")
@@ -33,7 +34,8 @@ def self.load!(cluster=nil)
if eip.public_ip.nil?
Chef::Log.debug( "no Elastic IPs currently allocated" )
else
- Chef::Log.debug( "available ip match: #{eip.public_ip}" )
+ Chef::Log.debug( "#{eip}" )
+ # Chef::Log.debug( "available ip match: #{eip.public_ip}" )
end
Chef::Log.debug( "----------------------" )
end

0 comments on commit d80a85a

Please sign in to comment.