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.



126
127
128
# File 'lib/puppet/settings/environment_conf.rb', line 126

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.



138
139
140
# File 'lib/puppet/settings/environment_conf.rb', line 138

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.



142
143
144
# File 'lib/puppet/settings/environment_conf.rb', line 142

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.



130
131
132
# File 'lib/puppet/settings/environment_conf.rb', line 130

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.



134
135
136
# File 'lib/puppet/settings/environment_conf.rb', line 134

def modulepath
  @environment.modulepath.join(File::PATH_SEPARATOR)
end