Class: Puppet::Settings::EnvironmentConf::Static Private

Inherits:
Object
  • Object
show all
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

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_versionObject

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_timeoutObject

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

#manifestObject

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

#modulepathObject

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