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, static_catalogs, environment_data_provider = nil, rich_data = false) ⇒ 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.



202
203
204
205
206
207
208
# File 'lib/puppet/settings/environment_conf.rb', line 202

def initialize(environment, environment_timeout, static_catalogs, environment_data_provider = nil, rich_data = false)
  @environment = environment
  @environment_timeout = environment_timeout
  @static_catalogs = static_catalogs
  @environment_data_provider = environment_data_provider
  @rich_data = rich_data
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.



198
199
200
# File 'lib/puppet/settings/environment_conf.rb', line 198

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.



197
198
199
# File 'lib/puppet/settings/environment_conf.rb', line 197

def environment_timeout
  @environment_timeout
end

#rich_dataObject (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.



199
200
201
# File 'lib/puppet/settings/environment_conf.rb', line 199

def rich_data
  @rich_data
end

#static_catalogsObject (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.



200
201
202
# File 'lib/puppet/settings/environment_conf.rb', line 200

def static_catalogs
  @static_catalogs
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.



222
223
224
# File 'lib/puppet/settings/environment_conf.rb', line 222

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.



214
215
216
# File 'lib/puppet/settings/environment_conf.rb', line 214

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.



218
219
220
# File 'lib/puppet/settings/environment_conf.rb', line 218

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

#path_to_envObject

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.



210
211
212
# File 'lib/puppet/settings/environment_conf.rb', line 210

def path_to_env
  nil
end