module MCollective module DDL # DDL for discovery plugins, a full example can be seen below # # metadata :name => "mc", # :description => "MCollective Broadcast based discovery", # :author => "R.I.Pienaar ", # :license => "ASL 2.0", # :version => "0.1", # :url => "http://marionette-collective.org/", # :timeout => 2 # # discovery do # capabilities [:classes, :facts, :identity, :agents, :compound] # end class DiscoveryDDL []} @current_entity = :discovery block.call if block_given? @current_entity = nil end end end end