2 # Registration is implimented using a module structure and installations can
3 # configure which module they want to use.
5 # We provide a simple one that just sends back the list of current known agents
6 # in MCollective::Registration::Agentlist, you can create your own:
8 # Create a module in plugins/mcollective/registration/<yourplugin>.rb
10 # You can inherit from MCollective::Registration::Base in which case you just need
11 # to supply a _body_ method, whatever this method returns will be send to the
12 # middleware connection for an agent called _registration_
14 autoload :Base, "mcollective/registration/base"