98ddf1fb93fc5e8ae3b060b98447eef42047bb38
[packages/precise/mcollective.git] / lib / mcollective / registration.rb
1 module MCollective
2   # Registration is implimented using a module structure and installations can
3   # configure which module they want to use.
4   #
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:
7   #
8   # Create a module in plugins/mcollective/registration/<yourplugin>.rb
9   #
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_
13   module Registration
14     autoload :Base, "mcollective/registration/base"
15   end
16 end