Sha256: 5e06990c93d185f12edfa3754c047ec9d675ab7851018d34aee2c30f3807065a
Contents?: true
Size: 685 Bytes
Versions: 23
Compression:
Stored size: 685 Bytes
Contents
module Ironfan class Dsl class Cloud < Ironfan::Dsl magic :default_cloud, :boolean, :default => false # Factory out to subclasses def self.receive(obj, &block) if obj.is_a?(Hash) obj = obj.symbolize_keys obj[:_type] ||= case obj[:name] when :ec2 then Ec2 when :virtualbox then VirtualBox when :vsphere then Vsphere when :rds then Rds else raise "Unsupported cloud #{obj[:name]}" end end super end def implied_volumes() Ironfan.noop(self,__method__,*p); end end end end
Version data entries
23 entries across 23 versions & 1 rubygems