| Class | MCollective::Application::Plugin |
| In: |
lib/mcollective/application/plugin.rb
|
| Parent: | Application |
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
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.