Class MCollective::Application::Plugin
In: lib/mcollective/application/plugin.rb
Parent: Application

Methods

Public Instance methods

Show application list and plugin help

Generate a plugin skeleton

If plugintype is StandardDefinition, identify which of the special plugin types we are dealing with based on directory structure. To keep it simple we limit it to one type per target directory. Return the name of the type of plugin as a string

Display info about plugin

Load preset metadata values from config if they are present This makes it possible to override metadata values in a local client config file.

Example : plugin.metadata.license = Apache 2

Agents are just called ‘agent’ but newer plugin types are called plugin_plugintype for example facter_facts etc so this will first try the old way then the new way.

Package plugin

Handle alternative format that optparser can‘t parse.

Creates the correct package plugin object.

Identify plugin type if not provided.

[Validate]