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_timeout ⇒ Object readonly private
- #parser ⇒ Object readonly private
Instance Method Summary collapse
- #config_version ⇒ Object private
-
#initialize(environment, environment_timeout, parser) ⇒ Static
constructor
private
A new instance of Static.
- #manifest ⇒ Object private
- #modulepath ⇒ Object private
Constructor Details
#initialize(environment, environment_timeout, parser) ⇒ 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.
163 164 165 166 167 |
# File 'lib/puppet/settings/environment_conf.rb', line 163 def initialize(environment, environment_timeout, parser) @environment = environment @environment_timeout = environment_timeout @parser = parser end |
Instance Attribute Details
#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.
160 161 162 |
# File 'lib/puppet/settings/environment_conf.rb', line 160 def environment_timeout @environment_timeout end |
#parser ⇒ 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.
161 162 163 |
# File 'lib/puppet/settings/environment_conf.rb', line 161 def parser @parser 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.
177 178 179 |
# File 'lib/puppet/settings/environment_conf.rb', line 177 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.
169 170 171 |
# File 'lib/puppet/settings/environment_conf.rb', line 169 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.
173 174 175 |
# File 'lib/puppet/settings/environment_conf.rb', line 173 def modulepath @environment.modulepath.join(File::PATH_SEPARATOR) end |