Class: Puppet::Environments::StaticPrivate Private

Inherits:
Static show all
Defined in:
lib/puppet/environments.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A source of unlisted pre-defined environments.

Used only for internal bootstrapping environments which are not relevant to an end user (such as the fall back ‘configured’ environment).

API:

  • private

Instance Method Summary collapse

Methods inherited from Static

#get, #get_conf, #initialize, #search_paths

Methods included from EnvironmentLoader

#clear_all, #get!

Methods included from EnvironmentCreator

#for

Constructor Details

This class inherits a constructor from Puppet::Environments::Static

Instance Method Details

#listArray<Puppet::Node::Environment>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Unlisted

Returns:

  • All of the environments known to the loader

API:

  • private



136
137
138
# File 'lib/puppet/environments.rb', line 136

def list
  []
end