Skip to content

Commit

Permalink
set cloud provider name to support special handling for various cloud…
Browse files Browse the repository at this point in the history
… providers using case @cloud.name
  • Loading branch information
Hui Hu committed Mar 23, 2012
1 parent ff55c55 commit 8f2947c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ironfan/cloud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class Ec2 < Base

def initialize(*args)
super *args
name :ec2 # cloud provider name
@settings[:security_groups] ||= Mash.new
@settings[:user_data] ||= Mash.new
end
Expand Down

0 comments on commit 8f2947c

Please sign in to comment.