Sha256: 503140fd9b3ffa9190051979ddabce580c6fad0af0981151fd030953c6ca20c7
Contents?: true
Size: 576 Bytes
Versions: 8
Compression:
Stored size: 576 Bytes
Contents
module Ironfan class Provider class Ec2 # Fog::AWS doesn't seem to have native models for PlacementGroup, # using Hash semantics instead class PlacementGroup < Ironfan::Provider::Resource delegate :[],:[]=, :to => :adaptee def name() self["groupName"] end def self.load!(cluster) result = Ec2.connection.describe_placement_groups result.body["placementGroupSet"].each do |group| register group unless group.blank? end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems