/usr/lib/ruby/1.8/mcollective.rb is in mcollective-common 1.2.1+dfsg-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | require 'rubygems'
require 'stomp'
require 'timeout'
require 'digest/md5'
require 'optparse'
require 'singleton'
require 'socket'
require 'erb'
require 'shellwords'
require 'mcollective/monkey_patches'
require 'tempfile'
# == 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
# Exceptions for the RPC system
class RPCError<StandardError;end
class RPCAborted<RPCError;end
class UnknownRPCAction<RPCError;end
class MissingRPCData<RPCError;end
class InvalidRPCData<RPCError;end
class UnknownRPCError<RPCError;end
class NotTargettedAtUs<RuntimeError;end
class SecurityValidationFailed<RuntimeError;end
class DDLValidationError<RuntimeError;end
autoload :Config, "mcollective/config"
autoload :Log, "mcollective/log"
autoload :Logger, "mcollective/logger"
autoload :Runner, "mcollective/runner"
autoload :RunnerStats, "mcollective/runnerstats"
autoload :Agents, "mcollective/agents"
autoload :Client, "mcollective/client"
autoload :Util, "mcollective/util"
autoload :Optionparser, "mcollective/optionparser"
autoload :Connector, "mcollective/connector"
autoload :Security, "mcollective/security"
autoload :Facts, "mcollective/facts"
autoload :Registration, "mcollective/registration"
autoload :PluginManager, "mcollective/pluginmanager"
autoload :RPC, "mcollective/rpc"
autoload :Request, "mcollective/request"
autoload :SSL, "mcollective/ssl"
autoload :Application, "mcollective/application"
autoload :Applications, "mcollective/applications"
autoload :Vendor, "mcollective/vendor"
autoload :Shell, "mcollective/shell"
MCollective::Vendor.load_vendored
VERSION="1.2.1"
def self.version
VERSION
end
end
# vi:tabstop=4:expandtab:ai
|