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.
126 127 128 |
# File 'lib/puppet/settings/environment_conf.rb', line 126 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.
138 139 140 |
# File 'lib/puppet/settings/environment_conf.rb', line 138 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.
142 143 144 |
# File 'lib/puppet/settings/environment_conf.rb', line 142 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.
130 131 132 |
# File 'lib/puppet/settings/environment_conf.rb', line 130 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.
134 135 136 |
# File 'lib/puppet/settings/environment_conf.rb', line 134 def modulepath @environment.modulepath.join(File::PATH_SEPARATOR) end |