Sha256: f92eb209e4270f8e3cd95cc13e5ba56c533574fb96796f541628c29a0684076f
Contents?: true
Size: 495 Bytes
Versions: 3
Compression:
Stored size: 495 Bytes
Contents
module Ironfan class Broker class Drive < Builder field :node, Hash, :default => {} field :disk, Ironfan::Provider::Resource field :volume, Ironfan::Dsl::Volume field :name, String def volume=(value) super return unless value # inscribe the cluster DSL values into chef attributes volume.attributes.each_pair {|k,v| node[k.to_s] = v } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ironfan-4.0.2 | lib/ironfan/broker/drive.rb |
ironfan-4.0.1 | lib/ironfan/broker/drive.rb |
ironfan-4.0.0 | lib/ironfan/broker/drive.rb |