Class: Puppet::Settings::EnvironmentConf::Static Private

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/settings/environment_conf.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.

Models configuration for an environment that is not loaded from a directory.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environment, environment_timeout, environment_data_provider = 'none') ⇒ Static

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.

Returns a new instance of Static.



165
166
167
168
169
# File 'lib/puppet/settings/environment_conf.rb', line 165

def initialize(environment, environment_timeout, environment_data_provider = 'none')
  @environment = environment
  @environment_timeout = environment_timeout
  @environment_data_provider = environment_data_provider
end

Instance Attribute Details

#environment_data_providerObject (readonly)

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.



163
164
165
# File 'lib/puppet/settings/environment_conf.rb', line 163

def environment_data_provider
  @environment_data_provider
end

#environment_timeoutObject (readonly)

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.



162
163
164
# File 'lib/puppet/settings/environment_conf.rb', line 162

def environment_timeout
  @environment_timeout
end

Instance Method Details

#config_versionObject

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.



179
180
181
# File 'lib/puppet/settings/environment_conf.rb', line 179

def config_version
  @environment.config_version
end

#manifestObject

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.



171
172
173
# File 'lib/puppet/settings/environment_conf.rb', line 171

def manifest
  @environment.manifest
end

#modulepathObject

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.



175
176
177
# File 'lib/puppet/settings/environment_conf.rb', line 175

def modulepath
  @environment.modulepath.join(File::PATH_SEPARATOR)
end