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 Method Summary collapse
- #config_version ⇒ Object private
- #environment_timeout ⇒ Object private
-
#initialize(environment) ⇒ Static
constructor
private
A new instance of Static.
- #manifest ⇒ Object private
- #modulepath ⇒ Object private
Constructor Details
#initialize(environment) ⇒ 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.
154 155 156 |
# File 'lib/puppet/settings/environment_conf.rb', line 154 def initialize(environment) @environment = environment 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.
166 167 168 |
# File 'lib/puppet/settings/environment_conf.rb', line 166 def config_version @environment.config_version end |
#environment_timeout ⇒ 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.
170 171 172 |
# File 'lib/puppet/settings/environment_conf.rb', line 170 def environment_timeout 0 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.
158 159 160 |
# File 'lib/puppet/settings/environment_conf.rb', line 158 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.
162 163 164 |
# File 'lib/puppet/settings/environment_conf.rb', line 162 def modulepath @environment.modulepath.join(File::PATH_SEPARATOR) end |