Class Puppet::Node::Environment
In: lib/puppet/node/environment.rb
Parent: Object

Model the environment that a node can operate in. This class just provides a simple wrapper for the functionality around environments.

Methods

[]   clear   current   current=   known_resource_types   module   new   new   root   to_s   to_sym   to_zaml   validate_dirs  

Included Modules

Puppet::Util::Cacher

Classes and Modules

Module Puppet::Node::Environment::Helper

Attributes

name  [R] 

Public Class methods

This is only used for testing.

Return an existing environment instance, or create a new one.

Public Instance methods

Return an environment-specific setting.

The only thing we care about when serializing an environment is its identity; everything else is ephemeral and should not be stored or transmitted.

[Validate]