class PoiseApplicationPython::Resources::PythonExecute::Provider

The default provider for ‘application_python_execute`.

@see Resource @provides application_python_execute

Private Instance Methods

environment() click to toggle source

Override environment to add the application envivonrment instead.

@return [Hash]

Calls superclass method
# File lib/poise_application_python/resources/python_execute.rb, line 76
def environment
  super.tap do |environment|
    # Don't use the app_state_environment_python because we already have
    # those values in place.
    environment.update(new_resource.app_state_environment)
    # Re-apply the resource environment for correct ordering.
    environment.update(new_resource.environment) if new_resource.environment
  end
end