Class: Puppet::Settings::EnvironmentConf::Static Private
- 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
- #environment_data_provider ⇒ Object readonly private
- #environment_timeout ⇒ Object readonly private
- #rich_data ⇒ Object readonly private
- #static_catalogs ⇒ Object readonly private
Instance Method Summary collapse
- #config_version ⇒ Object private
-
#initialize(environment, environment_timeout, static_catalogs, environment_data_provider = nil, rich_data = false) ⇒ Static
constructor
private
A new instance of Static.
- #manifest ⇒ Object private
- #modulepath ⇒ Object private
- #path_to_env ⇒ Object private
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.
204 205 206 207 208 209 210 |
# File 'lib/puppet/settings/environment_conf.rb', line 204 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_provider ⇒ Object (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 environment_data_provider @environment_data_provider end |
#environment_timeout ⇒ Object (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 environment_timeout @environment_timeout end |
#rich_data ⇒ Object (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.
201 202 203 |
# File 'lib/puppet/settings/environment_conf.rb', line 201 def rich_data @rich_data end |
#static_catalogs ⇒ Object (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.
202 203 204 |
# File 'lib/puppet/settings/environment_conf.rb', line 202 def static_catalogs @static_catalogs end |
Instance Method Details
#config_version ⇒ Object
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.
224 225 226 |
# File 'lib/puppet/settings/environment_conf.rb', line 224 def config_version @environment.config_version end |
#manifest ⇒ Object
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.
216 217 218 |
# File 'lib/puppet/settings/environment_conf.rb', line 216 def manifest @environment.manifest end |
#modulepath ⇒ Object
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.
220 221 222 |
# File 'lib/puppet/settings/environment_conf.rb', line 220 def modulepath @environment.modulepath.join(File::PATH_SEPARATOR) end |
#path_to_env ⇒ Object
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.
212 213 214 |
# File 'lib/puppet/settings/environment_conf.rb', line 212 def path_to_env nil end |