Class | Puppet::Module::Tool::Metadata |
In: |
lib/puppet/module/tool/metadata.rb
|
Parent: | Object |
This class provides a data structure representing a module‘s metadata. It provides some basic parsing, but other data is injected into it using annotate methods in other classes.
full_name | [R] | The full name of the module, which is a dash-separated combination of the username and module name. |
name | [R] | The name of this module. See also full_name. |
username | [R] | The name of the user that owns this module. |
version | [RW] | The version of this module, a string like ‘0.1.0’. |
Return the dashed name of the module, which may either be the dash-separated combination of the username and module name, or just the module name.
Return the release name, which is the combination of the dashed_name of the module and its version number.