Class Puppet::Indirector::Terminus
In: lib/puppet/indirector/terminus.rb
Parent: Object

A simple class that can function as the base class for indirected types.

Methods

Included Modules

Puppet::Util::InstanceLoader

Attributes

abstract_terminus  [R] 
indirection  [R] 
name  [RW] 
terminus_type  [RW] 

Public Class methods

Are we an abstract terminus type, rather than an instance with an associated indirection?

Convert a constant to a short name.

Look up the indirection if we were only provided a name.

Register our subclass with the appropriate indirection. This follows the convention that our terminus is named after the indirection.

Mark that this instance is abstract.

Convert a short name to a constant.

Register a class, probably autoloaded.

Return a terminus by name, using the autoloader.

Return all terminus classes for a given indirection.

Public Instance methods

[Validate]