Class/Module Index [+]

Quicksearch

MCollective::PluginPackager

Public Class Methods

[](klass) click to toggle source
# File lib/mcollective/pluginpackager.rb, line 12
def self.[](klass)
  const_get("#{klass}")
end
check_dir_present(path) click to toggle source
# File lib/mcollective/pluginpackager.rb, line 22
def self.check_dir_present(path)
  (File.directory?(path) && !Dir.glob(File.join(path, "*")).empty?)
end
get_metadata(path, type) click to toggle source
# File lib/mcollective/pluginpackager.rb, line 16
def self.get_metadata(path, type)
  ddl = MCollective::RPC::DDL.new("package", false)
  ddl.instance_eval File.read(Dir.glob(File.join(path, type, "*.ddl")).first)
  ddl.meta
end
load_packagers() click to toggle source

Package implementation plugins

# File lib/mcollective/pluginpackager.rb, line 8
def self.load_packagers
  PluginManager.find_and_load("pluginpackager")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.