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
- #static_catalogs ⇒ Object readonly private
Instance Method Summary collapse
- #config_version ⇒ Object private
-
#initialize(environment, environment_timeout, static_catalogs, environment_data_provider = 'none') ⇒ Static
constructor
private
A new instance of Static.
- #manifest ⇒ Object private
- #modulepath ⇒ Object private
Constructor Details
#initialize(environment, environment_timeout, static_catalogs, 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.
172 173 174 175 176 177 |
# File 'lib/puppet/settings/environment_conf.rb', line 172 def initialize(environment, environment_timeout, static_catalogs, environment_data_provider = 'none') @environment = environment @environment_timeout = environment_timeout @static_catalogs = static_catalogs @environment_data_provider = environment_data_provider 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.
169 170 171 |
# File 'lib/puppet/settings/environment_conf.rb', line 169 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.
168 169 170 |
# File 'lib/puppet/settings/environment_conf.rb', line 168 def environment_timeout @environment_timeout 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.
170 171 172 |
# File 'lib/puppet/settings/environment_conf.rb', line 170 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.
187 188 189 |
# File 'lib/puppet/settings/environment_conf.rb', line 187 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.
179 180 181 |
# File 'lib/puppet/settings/environment_conf.rb', line 179 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.
183 184 185 |
# File 'lib/puppet/settings/environment_conf.rb', line 183 def modulepath @environment.modulepath.join(File::PATH_SEPARATOR) end |