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::InvalidName

Constants

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

Attributes

environment  [W] 
environment  [R] 
name  [R] 

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’ for empty modules.

Find this module in the modulepath.

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

[Validate]