Class Puppet::Module
In: lib/puppet/module.rb
Parent: Object

Support for modules

Methods

Included Modules

Puppet::Util::Logging

Classes and Modules

Class Puppet::Module::Error
Class Puppet::Module::IncompatibleModule
Class Puppet::Module::IncompatiblePlatform
Class Puppet::Module::InvalidName
Class Puppet::Module::MissingMetadata
Class Puppet::Module::MissingModule
Class Puppet::Module::UnsupportedPlatform

Constants

TEMPLATES = "templates"
FILES = "files"
MANIFESTS = "manifests"
PLUGINS = "plugins"
FILETYPES = [MANIFESTS, FILES, TEMPLATES, PLUGINS]

Attributes

author  [RW] 
description  [RW] 
environment  [R] 
environment  [W] 
license  [RW] 
name  [R] 
project_page  [RW] 
puppetversion  [RW] 
source  [RW] 
summary  [RW] 
version  [RW] 

Public Class methods

Find and return the module that path belongs to. If path is absolute, or if there is no module whose name is the first component of path, return nil

Return an array of paths by splitting the modulepath config parameter. Only consider paths that are absolute and existing directories

Public Instance methods

Find the first ‘files’ directory. This is used by the XMLRPC fileserver.

Return the list of manifests matching the given glob pattern, defaulting to ‘init.{pp,rb}’ for empty modules.

Find this module in the modulepath.

Find all plugin directories. This is used by the Plugins fileserving mount.

[Validate]