Added mcollective 2.3.1 package
[packages/trusty/mcollective.git] / lib / mcollective.rb
diff --git a/lib/mcollective.rb b/lib/mcollective.rb
new file mode 100644 (file)
index 0000000..8b1431f
--- /dev/null
@@ -0,0 +1,68 @@
+require 'rubygems'
+require 'stomp'
+require 'timeout'
+require 'digest/md5'
+require 'optparse'
+require 'singleton'
+require 'socket'
+require 'erb'
+require 'shellwords'
+require 'stringio'
+require 'rbconfig'
+require 'tempfile'
+require 'tmpdir'
+require 'mcollective/exception'
+require 'mcollective/monkey_patches'
+require "mcollective/translatable"
+require 'mcollective/cache'
+
+# == The Marionette Collective
+#
+# Framework to build and run Systems Administration agents running on a
+# publish/subscribe middleware system.  The system allows you to treat your
+# network as the only true source of the state of your platform via discovery agents
+# and allow you to run agents matching discovery criteria.
+#
+# For an overview of the idea behind this and what it enables please see:
+#
+#   http://www.devco.net/archives/2009/10/18/middleware_for_systems_administration.php
+module MCollective
+  autoload :Agent, "mcollective/agent"
+  autoload :Agents, "mcollective/agents"
+  autoload :Aggregate, "mcollective/aggregate"
+  autoload :Application, "mcollective/application"
+  autoload :Applications, "mcollective/applications"
+  autoload :Client, "mcollective/client"
+  autoload :Config, "mcollective/config"
+  autoload :Connector, "mcollective/connector"
+  autoload :Data, "mcollective/data"
+  autoload :DDL, "mcollective/ddl"
+  autoload :Discovery, "mcollective/discovery"
+  autoload :Facts, "mcollective/facts"
+  autoload :Logger, "mcollective/logger"
+  autoload :Log, "mcollective/log"
+  autoload :Matcher, "mcollective/matcher"
+  autoload :Message, "mcollective/message"
+  autoload :Optionparser, "mcollective/optionparser"
+  autoload :Generators, "mcollective/generators"
+  autoload :PluginManager, "mcollective/pluginmanager"
+  autoload :PluginPackager, "mcollective/pluginpackager"
+  autoload :Registration, "mcollective/registration"
+  autoload :RPC, "mcollective/rpc"
+  autoload :Runner, "mcollective/runner"
+  autoload :RunnerStats, "mcollective/runnerstats"
+  autoload :Security, "mcollective/security"
+  autoload :Shell, "mcollective/shell"
+  autoload :SSL, "mcollective/ssl"
+  autoload :Util, "mcollective/util"
+  autoload :Validator, "mcollective/validator"
+  autoload :Vendor, "mcollective/vendor"
+
+  MCollective::Vendor.load_vendored
+
+  VERSION="@DEVELOPMENT_VERSION@"
+
+  def self.version
+    VERSION
+  end
+end