X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=lib%2Fmcollective.rb;fp=lib%2Fmcollective.rb;h=8b376df0191add43fa2a66e3c14abffedd54c0e2;hb=b87d2f4e68281062df1913440ca5753ae63314a9;hp=0000000000000000000000000000000000000000;hpb=ab0ea530b8ac956091f17b104ab2311336cfc250;p=packages%2Fprecise%2Fmcollective.git diff --git a/lib/mcollective.rb b/lib/mcollective.rb new file mode 100644 index 0000000..8b376df --- /dev/null +++ b/lib/mcollective.rb @@ -0,0 +1,67 @@ +require 'rubygems' +require 'stomp' +require 'timeout' +require 'digest/md5' +require 'optparse' +require 'singleton' +require 'socket' +require 'erb' +require 'shellwords' +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