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