8b1431fe9cbdd7d4cb860fcf736d1565434b0649
[packages/precise/mcollective.git] / lib / mcollective.rb
1 require 'rubygems'
2 require 'stomp'
3 require 'timeout'
4 require 'digest/md5'
5 require 'optparse'
6 require 'singleton'
7 require 'socket'
8 require 'erb'
9 require 'shellwords'
10 require 'stringio'
11 require 'rbconfig'
12 require 'tempfile'
13 require 'tmpdir'
14 require 'mcollective/exception'
15 require 'mcollective/monkey_patches'
16 require "mcollective/translatable"
17 require 'mcollective/cache'
18
19 # == The Marionette Collective
20 #
21 # Framework to build and run Systems Administration agents running on a
22 # publish/subscribe middleware system.  The system allows you to treat your
23 # network as the only true source of the state of your platform via discovery agents
24 # and allow you to run agents matching discovery criteria.
25 #
26 # For an overview of the idea behind this and what it enables please see:
27 #
28 #   http://www.devco.net/archives/2009/10/18/middleware_for_systems_administration.php
29 module MCollective
30   autoload :Agent, "mcollective/agent"
31   autoload :Agents, "mcollective/agents"
32   autoload :Aggregate, "mcollective/aggregate"
33   autoload :Application, "mcollective/application"
34   autoload :Applications, "mcollective/applications"
35   autoload :Client, "mcollective/client"
36   autoload :Config, "mcollective/config"
37   autoload :Connector, "mcollective/connector"
38   autoload :Data, "mcollective/data"
39   autoload :DDL, "mcollective/ddl"
40   autoload :Discovery, "mcollective/discovery"
41   autoload :Facts, "mcollective/facts"
42   autoload :Logger, "mcollective/logger"
43   autoload :Log, "mcollective/log"
44   autoload :Matcher, "mcollective/matcher"
45   autoload :Message, "mcollective/message"
46   autoload :Optionparser, "mcollective/optionparser"
47   autoload :Generators, "mcollective/generators"
48   autoload :PluginManager, "mcollective/pluginmanager"
49   autoload :PluginPackager, "mcollective/pluginpackager"
50   autoload :Registration, "mcollective/registration"
51   autoload :RPC, "mcollective/rpc"
52   autoload :Runner, "mcollective/runner"
53   autoload :RunnerStats, "mcollective/runnerstats"
54   autoload :Security, "mcollective/security"
55   autoload :Shell, "mcollective/shell"
56   autoload :SSL, "mcollective/ssl"
57   autoload :Util, "mcollective/util"
58   autoload :Validator, "mcollective/validator"
59   autoload :Vendor, "mcollective/vendor"
60
61   MCollective::Vendor.load_vendored
62
63   VERSION="@DEVELOPMENT_VERSION@"
64
65   def self.version
66     VERSION
67   end
68 end