Sha256: 971433c0b98197be39bcccdf86d19f497391ccdb7a17eb6653c31acd5cb877ef
Contents?: true
Size: 1.24 KB
Versions: 15
Compression:
Stored size: 1.24 KB
Contents
module CORL module Facade #----------------------------------------------------------------------------- # Core plugin type facade def configuration(options, provider = nil) plugin(:configuration, provider, options) end def configurations(data, build_hash = false, keep_array = false) plugins(:configuration, data, build_hash, keep_array) end #----------------------------------------------------------------------------- # Cluster plugin type facade def network(name, options = {}, provider = nil) plugin(:network, provider, Config.ensure(options).import({ :name => name })) end def networks(data, build_hash = false, keep_array = false) plugins(:network, data, build_hash, keep_array) end #--- def node(name, options = {}, provider = nil) plugin(:node, provider, Config.ensure(options).import({ :name => name })) end def nodes(data, build_hash = false, keep_array = false) plugins(:node, data, build_hash, keep_array) end #--- def provisioner(options, provider = nil) plugin(:provisioner, provider, options) end #--- def provisioners(data, build_hash = false, keep_array = false) plugins(:provisioner, data, build_hash, keep_array) end end end
Version data entries
15 entries across 15 versions & 1 rubygems